[magick-users] convert -flatten, transparent png to jpg

Erik Aronesty erik at q32.com
Mon May 5 09:27:14 PDT 2008


Am i doing something wrong?

1. if i run this command on an image with a transparent layer:

> convert in.png -background white -flatten out1.jpg

... i get an all-white image (This used to work on version 6.2.8)

2. if i run this command

> convert in.png -background white out1.jpg

... the transparent areas are not-nicely filled with black

3. input & output images:

http://www.mklogo.com/in.png
http://www.mklogo.com/out1.jpg
http://www.mklogo.com/out2.jpg

(i tried moving the -background command around ... )

4. I'm running ImageMagick 6.4.1 05/01/08 Q16 ....

- Erik


More information about the Magick-users mailing list