It took a while for me, but figured-out how to convert from postscript to png.
 I had to manually set DEVICEPOINTS for gs to have the right page size, which
is A4 for my schematic.  The orientation made it properly landscape.  GS is
odd.  IMO, outputting a png from postscript with GS makes the best quality
images.  try it.  -r switch is for resolution.  150 seems to be the least for
a good readable output.  Before I was using SVG->png with Inkscape, but lines
always turned-out fuzzy.


"C:\gs\gs8.50\bin\GSWin32c" -sDEVICE=pngmono -r150
-sOutputFile="MP-2A_audio.png" -dNOPAUSE -dDEVICEWIDTHPOINTS=841
-dDEVICEHEIGHTPOINTS=1191 -c "<</Orientation 3>> setpagedevice" -f
"MP-2A_audio.ps" -c quit

There even seems to be a way for ghostscript to be a device one can print to.
 I found this link yesterday, but haven't followed through to try it.  Should
be useful for "printing" to an image file.  I'll try it soon.

http://www.stat.tamu.edu/~henrik/GSPSprinter/GSPSprinter.html

Reply via email to