[prev in list] [next in list] [prev in thread] [next in thread] 

List:       imagemagick-user
Subject:    Re: [magick-users] Converting Vector to PNG with transparency
From:       "Ross Presser" <rpresser () gmail ! com>
Date:       2008-08-19 17:32:48
Message-ID: 656f8fef0808191032g5264f3ek2ca3af5723fb20f4 () mail ! gmail ! com
[Download RAW message or body]

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@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@imagemagick.org
> http://studio.imagemagick.org/mailman/listinfo/magick-users
>
_______________________________________________
Magick-users mailing list
Magick-users@imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic