[magick-users] Converting Vector to PNG with transparency
Ross Presser
rpresser at gmail.com
Tue Aug 19 10:32:48 PDT 2008
Try using Ghostscript directly instead of going through ImageMagick:
gs -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r72 -dEPSCrop
-sOutputFile=output.png input.eps
On Mon, Aug 18, 2008 at 7:44 PM, Doug Siebert <d7a7z7e7d at gmail.com> wrote:
> I'm trying to convert a vector (eps, ai or pdf specifically) to png while
> keeping the background transparent. It seems anytime I convert a vector to
> png, there will be a white background regardless. I've sort of got around
> this by using "-transparent #FFFFFF" to replace all white with
> transparency,
> however, if the original vector has white in it then it too gets replaced
> and that is not the desired result. Basically anything outside of the
> vectors paths should be transparent as it would be in programs like
> Illustrator. Is there any way to do this vector to png conversion in
> imagemagick while keeping the transparency correct?
> _______________________________________________
> Magick-users mailing list
> Magick-users at imagemagick.org
> http://studio.imagemagick.org/mailman/listinfo/magick-users
>
More information about the Magick-users
mailing list