I wrote a shell script for the sh shell that takes picture files in any either xpm, ppm, ps, tiff, gif, pict, or jpeg formats and outputs both a gif thumbnail, and a standard size jpeg image where the thumbnail was at most 75x75 pixels and the jpeg was at most 500x500 pixels shrinking it whenever necessary.
Use: picshell [image file list]
Note: You Must have the 'sh' shell installed to run it as above as well you will need the following utilities although some are standard I have listed them all: