[TriLUG] thumbnails with Gimp?
John Matthews
jvmatthe at math.duke.edu
Mon Mar 4 10:40:55 EST 2002
On Mon, 2002-03-04 at 10:27, Greg Brown wrote:
> Has anyone out there written a script using Gimp to create thumbnails of
> .jpg files? I was hoping to find a way I could tell Gimp to create
> thumbnails for all the .jpgs in one directory. Does anyone know if this is
> even possible? The man pages for gimp are somewhat basic.
As suggested by others, use convert and a small shell script. I made one
last night for my own purposes if you want to use it.
The option you pass to convert is "geometry". As in:
convert -geometry 128x96 foo.jpg foo-thumb.png
Note that the above example also does jpg -> png conversion
automatically, by smartly parsing the filename extensions.
Regards,
matt
--
Matt Matthews \ ph: 919.660.2811 \ Use GNU/Linux _o) w00t
Duke Univ., Postdoc\ jvmatthe at math.duke.edu \____________ /\\
Dept. of Mathematics\ http://www.math.duke.edu/~jvmatthe/ \ _\_V
More information about the TriLUG
mailing list