Page 1 of 1

v7 CopyOpacity

Posted: 2016-07-23T04:55:05-07:00
by snibgo
In v7.0.2-5 on Windows 8.1, "-compose CopyOpacity -composite" ignores the opacity of the Src image, and performs as if alpha was off.

Code: Select all

%IMG7%magick xc:rgb(22%%,33%%,44%%) x1.png

%IMG7%magick xc:rgba(10%%,20%%,30%%,0.7) x2.png

%IMG7%magick x1.png x2.png -compose CopyOpacity -composite  txt:

0,0: (14418,21627,28835,12187)  #3852547B70A32F9B  srgba(22%,33%,44%,0.185962) <-- Wrong
v6.9.5.3 gives the correct result:

Code: Select all

%IM%convert x1.png x2.png -compose CopyOpacity -composite  txt:

0,0: (14418,21627,28835,45875)  #3852547B70A3B333  srgba(22%,33%,44%,0.700008)

Re: v7 CopyOpacity

Posted: 2016-07-23T15:11:56-07:00
by magick
Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ http://www.imagemagick.org/download/beta/ by sometime tomorrow.