mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Ghostscript


Chronological Thread 
  • From: chaoslawful <address@hidden>
  • To: Dan Martens <address@hidden>
  • Cc: "address@hidden" <address@hidden>, "address@hidden" <address@hidden>
  • Subject: Re: [TeXmacs] Ghostscript
  • Date: Sun, 15 May 2005 13:27:42 +0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=ZHWdJDB5Syu5NGyjJXsTpGcIUnkiz9sNEamU9GBjQvbDUWH7ExHjwlI3+IaxybVqgP6FwWkTmGVU8u4fVlYJ/F3tba9gqWjY3YIBLU5k8t8EPBZEAB//TegrCl8TRsVBZgPj9c7bLa+RU5O198MqXHgDNqZCQ2GlJu92pkDckDA=

-----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