cmd:gifconv 

Usage 

ls *.gif | doeach.pl gifconv @_ ~/discards/gens/eps/@n.eps
ls *.gif | doeach.pl gifconv @_ -format eps @b grep BoundingBox: @g @_.bb

Info 

Description 

Gifconv reads a GIF (Graphics Interchange Format) image file and converts it to another format: PostScript (or Encapsulated PostScript), PCX (a PC format), PICT (Macintosh), or PPM (Portable PixMap), using the xwpick backend. This is mainly useful because xwpick produces particularly well-behaved and compact PostScript. For the other formats, many other programs do the same job, eg. xv, pbmplus, or netpbm, and in fact these may be used to convert an image to the GIF format that gifconv requires as input.

Source 

http://hepax6.rl.ac.uk/DELPHI/Adye/gifconv.html http://cern.ch/adye/gifconv-2.21b.tar.gz

Comments 

PostScipt files produced by gifconv automatically understand on what kind of printer they are being printed. On Level 2 PostScript printers the native LZW/ASCII85 decoding filters will be invoked, while on Level 1 printers inline decompression code is executed. Rendering time on Level 2 printers is pretty fast. On Level 1 printers the image rendering is, of course, much slower, but still usually faster than for Run Length Encoded PostScript images.

For this particular image, the resultant Encapsulated Postscript file is 2.8 times smaller than that produced by xv (with xv's compress option).

Help 

Quick Help 

Input format: GIF (Graphics Interchange Format)

Possible output file names:

*.ps   (PostScript)
*.eps  (Encapsulated PS)
*.epsi (EPS with preview)
*.gif  (GIF)
*.pcx  (IBM PC)
*.pict (Macintosh)
*.ppm  (PBM+ library)

Version 

Build & Installation 

Steps 
tfe ~/dl/mustH_b/media/jpg/gifconv-2.21b.tar.gz
xmkmf
make
# make install
install -c -s  gifconv /usr/X11R6/bin/gifconv
install in . done
mv /usr/X11R6/bin/gifconv /opt/bin/