On Sun, Mar 02, 2008 at 01:20:27PM -0800, Penguin Lover maxim wexler squawked:
> Been working with xcircuit. It saves in PS but can be
> made into a jpeg which looked just as sharp as the
> original.
> 
> I found this command online:
> 
> gs -dBATCH -sOutputFile=4804SR-output.jpg
> -sDEVICE=jpeg 4804SR-output.ps
> 
> Which I changed to this:
> 
> gs -dBATCH -sOutputFile=4804SR-output.png
> -sDEVICE=jpeg 4804SR-output.ps
> 
> The first file it created ends in .jpg, the second in
> .png. But they're both the same size and look exactly
> the same in the browser. When I gave it -sDEVICE=png
> it replied "Unknown device: png". So maybe it just
> makes jpegs but will call them whatever...

Yes, it does just that: creates a jpg file with a .png extension.

To make png files, you can try imagemagick (make sure to install it
with the gs flag)

W
-- 
"Problems done right, which is not always the case, usually contain a clue."
~DeathMech, S. Sondhi. P-town PHY 205
Sortir en Pantoufles: up 450 days, 20:27
-- 
[email protected] mailing list

Reply via email to