in reply to Re: Making jpg thumbnails
in thread Making jpg thumbnails

DrHyde: I agree with the "on the fly," that wasn't my real intent. However, can you tell me more about "shell script and djpeg/cjpeg?" Do you have any code you can send along. 1/8 would be perfect. The simpler the better. Thanks Brad

Replies are listed 'Best First'.
Re: Re: Re: Making jpg thumbnails
by DrHyde (Prior) on Aug 27, 2003 at 14:42 UTC
    From memory this will work to product thumbnails for all the .jpgs in the current directory:

    for i in *.jpg; do djpeg -dct float -scale 1/8 $i | cjpeg -dct float>$i.thumb.jpg; done

    djpeg and cjpeg are distributed with the JPEG group's libjpeg.