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@xxxxxxxxxxxx | ,_/ | / - 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
_______________________________________________ Gimp-developer mailing list Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer