Page 1 of 1

Convert eps to opaque png

Posted: 2009-03-17T18:50:17-07:00
by ztrange
Hello, I'm trying to use the convert tool to crate an opaque png from an eps file.

I tried

convert 1.eps 1.png
convert 1.eps -background white 1.png
convert 1.eps -transparent-color white 1.png
convert 1.eps -channel RGB 1.png
convert 1.eps -channel RGB -matte 1.png

And well, I keep getting a transparent background png.
I googled and only got the way to get transparent pngs from eps but that I already got it.
Also, couldnt search in this forum with eps and png in the search string since it blocks those small words.

Any help will be appreciated

Re: Convert eps to opaque png

Posted: 2009-03-17T19:00:56-07:00
by magick
Try the +matte option.

Re: Convert eps to opaque png

Posted: 2009-03-17T19:30:43-07:00
by ztrange
Thanks, it worked, I had just tried the -flatten option and it also worked, but well, it says it is for a sequece of images.

Thanks for your help, I'll be using the +matte option.

Re: Convert eps to opaque png

Posted: 2009-03-17T19:46:03-07:00
by fmw42
-alpha off should give the same results as +matte.

see http://www.imagemagick.org/script/comma ... .php#alpha