mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Ghostscript


Chronological Thread 
  • From: Dan Martens <address@hidden>
  • To: chaoslawful <address@hidden>, "address@hidden" <address@hidden>, "address@hidden" <address@hidden>
  • Subject: Re: [TeXmacs] Ghostscript
  • Date: Sun, 15 May 2005 15:46:33 -0400

Hello,

Thanks for the message, but I am familiar with the basic commands. I am looking for more advanced features which deal with the handling of EPS files and the proper scaling of images.

Dan Martens



chaoslawful wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dan Martens wrote:

Is anyone on this list an expert with AFPL ghostscript (windows version)
command line arguments and converting PS/EPS images to jpeg/png?
If so, please let me know, it would be a great help.

Thanks,



"gswin32c --help" will display a lot of supported devices, and there are
"jpeg" device and "png..." device which can be used to generate jpeg/png
images from ps/eps file.

For example:
Z:\>gswin32c -sDEVICE=jpeg -sOutputFile=x.jpg -r300 -dNOPAUSE -dBATCH -q
x.ps
This command line convert x.ps to x.jpg with 300 pixels/inch resolution.

Z:\>gswin32c -sDEVICE=pnggray -sOutputFile=x.png -r300 -dNOPAUSE -dBATCH
- -q x.ps
This command line convert x.ps to x.png(gray-color) with 300 pixels/inch
resolution.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCht3OYbJI/JdkxtYRAtNmAJ9GIm+vC05YhQDPe1BRip5ARVzDLgCeJwrs
I7Gk8pUUAI3MZJtmZk++nKk=
=juvX
-----END PGP SIGNATURE-----




Archive powered by MHonArc 2.6.19.

Top of page