[Thunar-dev] raw thumbnailer

Erlend Davidson E.R.M.Davidson at sms.ed.ac.uk
Mon Jan 22 00:36:48 CET 2007


Jens Luedicke wrote:
> On 1/21/07, Benedikt Meurer <benedikt.meurer at unix-ag.uni-siegen.de> wrote:
>   
>> Jens Luedicke wrote:
>>     
>>> Hey,
>>>
>>> as requested by Benny on IRC:
>>> http://perldude.de/_mg_0483.cr2.bz2
>>> (Canon CR2 RAW image)
>>>       
>> People with digital photo cameras, please send a link to a sample RAW
>> image and the description of your camera model.
>>     
>
> Model: Canon EOS 400D Digital
> The format should be the same with all digital Canon EOS models.
>
> Jens
I've written and tested locally some mimetypes for raw images and for 
xmgrace (.agr) files.  I can install these manually, although I haven't 
got automake to install them properly yet.

As for speeding up raw thumbnails, I think just now I'll go with having 
a small program like "thunar-vfs-pixbuf-thumbnailer" (or 
"thunar-vfs/thunar-vfs-thumb-jpeg.c" if the dcraw images have the exif 
data in them) with thunar-thumbnailers that takes a jpeg (or other 
format) from stdin and produces a scaled-down png.  This is pretty 
quick, the whole process takes about 0.1s on my machine (c.f. 1.5s when 
using convert).  A longer term solution might be to write something 
similar to dcraw just for thumbnails that uses libopenraw, once that 
supports all the formats.

Once I get mimetypes to install properly I'll commit an (xm)grace 
thumbnailer to the svn.  I've put a limit of 30MB so .agr files bigger 
than this won't be thumbnailed.  This is a bit a a random size to choose 
though, as the real value should probably depend on the amount of 
(free?) memory available on the system, so I'll change that if others agree?

Has the font thumbnailer been dropped now?  Do you want this in 
thunar-thumbnailers?



More information about the Thunar-dev mailing list