[Thunar-dev] Thumbnails for HTML documents
Erlend Davidson
E.R.M.Davidson at sms.ed.ac.uk
Sun Dec 31 14:59:58 CET 2006
Benedikt Meurer wrote:
> Benedikt Meurer wrote:
>
>>>> So am I correct is saying that a gif image is actually thumbnailed by
>>>> converting it to a png? What do you use to do that, imagemagick? I am
>>>> asking because the 'convert' binary could be used for eps.
>>>>
>>> The image thumbnailers use GdkPixbuf (except for JPEGs, where we use
>>> libjpeg directly).
>>>
>> The PNG output file must comply with the thumbnail standard, see
>>
>> http://jens.triq.net/thumbnail-spec/creation.html#AEN139
>>
>
> Ok, I added support to thunar-vfs to load thumbnailers from .desktop
> files rather than hardcoded defaults. This should make it easier to
> extend Thunar with new thumbnailers. The stuff is documented in the user
> guide, which still looks for contributors BTW. ;-)
>
> http://thunar.xfce.org/documentation/C/customizing-thunar.html#thumbnailers
>
> I'd like to see a repository of additional thumbnailers/scripts. If
> somebody agrees to maintain the thumbnailers, I can setup a goodies
> project. I bet there are a lot of interesting file formats, which don't
> have thumbnailers right now (i.e. I'd very much welcome a TeX
> thumbnailer, which automatically detects whether to use PDFTeX or LaTeX,
> and a .fig thumbnailer would also be nice).
Here's one for xmgrace .agr files (which generally contain a graph).
There is one problem however - .agr files have a mime-type of text/plain
so thunar won't know how to distinguish them from any other text files.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: agr-thumbnailer.desktop
Type: application/x-desktop
Size: 179 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20061231/eb39d4dc/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: agr-thumbnailer
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20061231/eb39d4dc/attachment.ksh>
More information about the Thunar-dev
mailing list