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 <[EMAIL PROTECTED]> 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 > [email protected] > http://studio.imagemagick.org/mailman/listinfo/magick-users > _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
