[Gimp-developer] thumbnail generation for nautilus via gimp
Eckhard M. Jäger
bart at neeneenee.de
Sun Dec 2 03:56:47 PST 2007
Hello Sven,
thanx for that. I tried something like
gimp -i -n -f -d -s -b '(gimp-file-save-thumbnail /path/to/image.psd)'
-b '(gimp-quit 0)'
but i didn't get it work :(
This is what have done so far:
http://my.opera.com/area42/blog/generating-thumbnails-using-gimp
-
|\/\/\/|
| |
| (O)(O) Bart.
C _) bart at neeneenee.de
| ,_/
| / - Ich bin nicht berechtigt Aushilfslehrer zu feuern -
/ \
http://www.neeneenee.de
Am Samstag, den 01.12.2007, 20:54 +0100 schrieb Sven Neumann:
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /lists/gimp-developer/attachments/20071202/dce49d80/attachment.html
More information about the Gimp-developer
mailing list