IUBio

postscript -> GIF converter for UNIX

Keith James kdj at fes6.sanger.ac.uk
Tue May 4 03:36:51 EST 1999


>>>>> "Carla" == Carla Kuiken <kuiken at lanl.gov> writes:

    Carla> Does anyone know of a commandline postscript-to-GIF
    Carla> converter for UNIX that gives decent results? We use
    Carla> program called 'convert' at the moment, but the quality of
    Carla> the resulting GIFs is variable and sometimes truly
    Carla> atrocious.

If you have Ghostscript and ppmtogif, you can do:

gs -dNOPAUSE -dBATCH -sDEVICE=ppm -sOutputFile=image.ppm image.ps

(you can change the resolution etc with other switches)

Then:

ppmtogif image.ppm > image.gif


-- 

Keith James  --  kdj at sanger.ac.uk  --  http://www.sanger.ac.uk/Users/kdj
The Sanger Centre, Wellcome Trust Genome Campus, Hinxton, Cambs CB10 1SA




More information about the Bio-soft mailing list

Send comments to us at biosci-help [At] net.bio.net