"The Linux Gazette...making Linux just a little more fun!"


(?) The Answer Guy (!)


By James T. Dennis, [email protected]
Starshine Technical Services, http://www.starshine.org/


(?) PostScript to GIF

From Jamie Orzechowski on Fri, 05 Jun 1998

(?) Hi There .. I am trying to convert a .PS to .GIF .... no luck so far ... I got the progrma ppmtogif but it WILL NOT compile ... can;t get it working at all ... I was wondering if you had the binary to ppmtogif (linux redhat) or know where I can get a source distribution that will compile ... or any other program that will convert ps to gif ... thanks!

(!) You could use the pstogif perl script by Nikos Drakos of Leeds University. It apparently accompanies the LaTeX2HTML package.
I discovered that by simply switching to a shell prompt and typing "ps{TAB}{TAB}" and looking that the list of utilities that bash' command completion offered me. Then I look for a man page and then just looked that the file itself.
Running the 'rpm -qf' command to see which package included this 'pstogif' file I found that it came with "l2h-96.1.h-5.rpm" on the 'Canopus' and with "xemacs-19.15p2-2.rpm" on 'Antares' (A couple of my machines here).
There are a dizzying array of pbm, ppm, and pgm conversion filters. The three formats seem to be very similar (for "portable bitmap," "portable pixmap," and "portable graymap" respectively). So, like you, my first thought would have been to use one of them.
In all honesty I avoid graphics files as much as possible so I don't have an easy answer to this.
(Incidentally this is an old message. I'm trying to clear out my old drafts folder by the end of the year).


Copyright © 1999, James T. Dennis
Published in The Linux Gazette Issue 36 January 1999


[ Answer Guy Index ] a b c 1 2 3 4 5 6 7 9 10 11 12
15 16 18 19 20 21 22 23 24 25 26 27 28
29 31 32 33 34 35 36 37 38 39 40 41 42 44
45 46 47 48 49 50 51 52 53 54 55 56 57 60 61 62 63 64 65 66
67 69 72 76 77 78 79 80 81 82 84 85 86 87 91 94 95 96 97 98


[ Table Of Contents ] [ Front Page ] [ Previous Section ] [ Next Section ]