I want to take approximately 600 targa images, and convert them to jpegs. Does anyone know a command line utility to do this with?
Just in case the command line is not mandatory for you, you could have a look to gimp-dbp .
Quoting gimp-dbp's home page:
I got tired of people asking on Gimp newsgroups and mailing lists, "How can I resize a directory full of images", and even more tired of the standard reply, "Use ImageMagick". DBP allows users to do common processing tasks on multiple images, without leaving Gimp or having to learn a scripting language.
To be honest, i already never used this package myself . But i thought you could be interested.
]]>for tgafile in *.tga ; do
jpgfile=`echo $tgafile | sed 's,tga$,jpg,'`
convert -quality 100 "$tgafile" "$jpgfile"
done
Here, I provided the highest quality jpg compression possible. Values range from 1-100. You can try 'convert -quality 80 myfile.tga myfile.jpg' and fiddle with different quality values to pick a setting that satisfies your eyes and your hard drive. Read the man page for convert, you can do a LOT of really neat stuff, such as resizing images, or making animated mng files.
]]>Walt
]]>