[lug] Converting postscript images to png or gif

Riggs, Rob RRiggs at doubleclick.net
Tue Nov 13 17:11:51 MST 2001


Ghostscript can do PNG output. 

gs -sDEVICE=png16m -sOutputFile=output.%d.png -dBATCH -dNOPAUSE -q input.ps

-----Original Message-----
From: J. Wayde Allen [mailto:wallen at lug.boulder.co.us]
Sent: Tuesday, November 13, 2001 5:04 PM
To: List: Boulder Linux User's Group
Subject: [lug] Converting postscript images to png or gif



I have several graphs that I've generated using Gnuplot that I would like
to use in a presentation I'm creating using StarOffice.  So far I've had
some luck saving these graphs in postcript form:

   set term postscript
   set output "myfile.ps"
   replot

and then loading myfile.ps into xv and saving it as a gif.  The resulting
image will load into StarPresents.  The problem is that it tends to be a
bit fuzzy or blurry.  Is there a better and perhaps more direct way to do
this?  Using PBM perhaps?

- Wayde
  (wallen at lug.boulder.co.us)

_______________________________________________
Web Page:  http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug



More information about the LUG mailing list