Zentara posted this an answer to this last month, which might be of use: ----------------snip--------------------------- I have had good luck with igal, a perl script which makes thumbnails, html pages with links to the full photos, and slide shows. http://www.stanford.edu/~epop/igal ----------------snip--------------------------- And Adi Gadwale posted this: ----------------snip--------------------------- You're in luck! I just ran accross this yesterday, I haven't used it, but it is written in Python (seriously cool lang!) and should be fairly easy to modify. Also generates an html page! http://kpd.twu.net/gallery/gallery.html ----------------snip--------------------------- Hope they help. k. On Wednesday, October 18, 2000 7:41 AM, Bernd Felsche [SMTP:bernie@innovative.iinet.net.au] wrote:
juergen.braukmann@ruhr-west.de tapped away at the keyboard with:
I want to generate thumbnail pictures from jpeg files. I there any tool about that can be used for that from the shell?? I want to run this via script if possible.
I failed sofar with gphoto (the thumbs are nice, but there is no obvious relation between their filenames and the originals ;-( ) Further, I didn't get gimp to run in batch mode. If I try the latter, I always get an error message, like:
I hacked a quick and dirty script that creates a set of varied-resolution images in different sub-directories from the images in the current directory.
Hack follows the signature bit of the message.
Next time around, I'll make it smarter so it's not always reducing from the original, large image!
It's a start anyways... all from command-line in one (piped) line. At least it gives you the names of required commands.
-- Bernd Felsche - Innovative Reckoning Perth, Western Australia
for r in 200 400 800 ; do mkdir $r 2>/dev/null || : for j in pic1[23]r.jpeg ; do echo "$r $j \c" time djpeg $j| pnmscale -xysize $r $r| cjpeg -quality 80 -optimize -progressive -maxmemory 20m | wrjpgcom -comment "Scan by Bernd Felsche" > $r/$j done done
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq