[pstricks] transparent eps
Kjell Magne Fauske
kjellmf at gmail.com
Mon Jun 4 18:01:33 CEST 2007
On 6/4/07, Aydın Üstün <austun at selcuk.edu.tr> wrote:
>
>
> Hi all,
>
> Is there an easy way to obtain png file from a transparent eps with alpha
> channel? I am using ps2pdf14 and the result is a pdf in a4 paper size. How
> can I convert it into cropped png?
>
Ghostscript is your friend here. You can use the pngalpha[1] device:
gs -dNOPAUSE -r200 -sDEVICE=pngalpha -sOutputFile=file.png -dBATCH file.pdf
(gswin32c on wWndows)
If you want to crop the ps file as well, there was recently a long
thread about this on comp.text.tex [2]. You may also find a few tips
here [3]
Regards,
Kjell Magne Fauske
[1] http://www.cs.wisc.edu/~ghost/doc/cvs/Devices.htm#PNG
[2] http://groups.google.com/group/comp.text.tex/browse_frm/thread/c11e75406931c58/
[3] http://www.fauskes.net/nb/latextips/#standaloneEPSPDF
More information about the PSTricks
mailing list