GIF picture files from PSTricks graphics
Denis Girou
Denis.Girou at idris.fr
Fri Nov 27 22:37:05 CET 1998
-----------------------------------------------------------------------------
This is the PSTricks mailing list, devoted to discussions about computational
graphics in (La)TeX using the PSTricks package from Timothy van Zandt.
For help using this mailing list, see instructions at the end of message.
-----------------------------------------------------------------------------
Somebody complain recently about the poor quality he had on the GIF picture
files he generated from some PSTricks graphics (of course to use at images in
his Web pages).
Nevertheless, this is not a general problem and is dependent of the tools
used. The way I used, based on "convert" from the ImageMagick software
(available both for Unix and Windows), always produced GIF or JPEG files of
very good quality (it can generate also PNG files, but I never try).
Very probably that other tools can give good results too, but some other ways
as the one used by this person produce bad ones.
Main conclusion is: if you need to generate GIF files, _it is possible_
to have ones of very good quality.
I use the TeXtoEPS environment from the `pst-eps' package (we must also take
care to don't forget the "\pagestyle{empty}" command) and the -E option
(for EPS generation) of the converter I use (I suppose that other ones can do
that too).
\documentclass{article}
\usepackage{pstcol}
\usepackage{pst-node}
\usepackage{pst-eps}
\pagestyle{empty}
\begin{document}
\begin{TeXtoEPS}
*** PSTricks code ***
\end{TeXtoEPS}
\end{document}
then:
latex test-pst
dvips -E -h pstricks.pro -h pst-node.pro -o test-pst.eps test-pst.dvi
convert -geometry 250x250 test-pst.eps test-pst.gif
D.G.
-----------------------------------------------------------------------------
The list interface (subscription, information, access to the archives) is on:
http://www.tug.org/cgi-bin/lwgate/pstricks
Otherway to unsubscribe, send mail to pstricks-request at mail.tug.org
with a blank subject and in body the line unsubscribe <email-address>
-----------------------------------------------------------------------------
More information about the PSTricks
mailing list