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.

Click here to download it  (1.14 Kb picshell.zip)

or

Click here to download it  (1.18 Kb picshell.tar.gz)

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:

  • awk
  • cjpeg
  • djpeg
  • echo
  • giftopnm
  • gs
  • head
  • picttoppm
  • pnmscale
  • ppmquant
  • ppmtogif
  • tail
  • tifftopnm
  • xpmtoppm