Re: Image Converters

Steinar Bang (steinarb@falch.no)
Wed, 14 Dec 1994 17:42:33 +0100

>>>>> wmperry@spry.com writes:
> You can use the JPEG-v5 and NETPBM utilities to do this, but I imagine
> there is probably a faster way. Something like this:

> #!/bin/sh
> echo 'Content-Type: image/gif'
> echo
> djpeg [any options] filename | ppmtogif

I would add a ppmquant to that pipeline. Keeping it down to 16 colours
seems a good compromise for small pictures. You will have to try a bit
to find an acceptable number of colours for your application, but
remember that many browsers can't show more than 50 colours pr. Web
document.