[Gimp-developer] thumbnail generation for nautilus via gimp

Sven Neumann sven at gimp.org
Sat Dec 1 11:54:38 PST 2007


Hi,

On Sat, 2007-12-01 at 20:45 +0100, Eckhard M. Jäger wrote:

> i got the idea to create a python script thats generate the thumbnails
> of unsupported images in nautilus using gimp.
> Implementing this in Gimp and in Nautilus.
> 
> I studied the commandline options ( -n, -a, -i, -d, -f, -s )of gimp
> and do not know if it is possible. Am i right i have to load and
> unload 
> all the images of a directory to get gimp generating an thumbnail or
> is there a better way?

You can use the PDB function gimp-file-save-thumbnail(). See
http://developer.gimp.org/api/2.0/libgimp/libgimp-gimpfileops.html#gimp-file-save-thumbnail


Sven




More information about the Gimp-developer mailing list