Re: Image Converters

Steinar Bang (
Wed, 14 Dec 94 17:40:52 +0100

>>>>> 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