viewtopic.php?f=1&t=21661
I'm creating images overlayed on a background with an alpha mask applied. Sometimes I'm using a jpg for a background and sometimes I need it to be a transparent background. Using a jpeg works fine but using an empty transparent file with xc:none produces jagged edges instead of the smooth transition that is in the mask.
Here's the command:
Code: Select all
convert -size 1024x768 xc:none vader.jpg \( 'alpha.jpg' -negate \) -composite 'output_broken.png'
Code: Select all
convert -size 1024x768 xc:white vader.jpg \( 'alpha.jpg' -negate \) -composite 'output.png'
I'm using ImageMagick 6.7.7-10 2013-02-25 Q16 on Ubuntu 13.04
How can I make the transparent version look like the white background? It's like it's not using png32 or something.
sample of output_broken.png:

output with white background:

alpha mask:
http://i.imgur.com/oh7exKw.jpg
vader input image:
http://i.imgur.com/xiDRKhO.jpg