ImageMagick convert to png32, can't change background at all

Posted by Doug on Server Fault See other posts from Server Fault or by Doug
Published on 2012-10-14T15:36:09Z Indexed on 2012/10/14 15:39 UTC
Read the original article Hit count: 211

Filed under:
|
|

So I'm stumped. I've been wrestling with this simple command to turn an SVG file into a transparent SVG to no avail. Here's my command

convert svg:/home/media/svgTest.svg -quality 100 -background none -size 3300x3300 png32:/home/media/pngTest.png

The PNG comes out fine, but the background is white.

Upon further investigation - the PNG's background is white no matter what I set the -background option to. I've tried black, tomato4, and even various hex colors. Nothing - just white.

My SVG has no background fill layer or anything like that, it's just a couple of blue path layers.

Also, I am running ImageMagick v 6.6.9-7 on Ubuntu 12.04 Lts

What am I doing wrong?

Thanks

© Server Fault or respective owner

Related posts about ubuntu-12.04

Related posts about imagemagick