alpha minima >= maxima

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

alpha minima >= maxima

Post by snibgo »

I don't know if this is a recent bug, or a very old feature from when IM wasn't sure if alpha meant transparency or opacity. If it is an old feature, perhaps it is too late to be "corrected".

Code: Select all

%IM%convert xc:rgba(0,0,0,0.2) xc:rgba(0,0,0,0.9) +append -format %%[fx:minima.a] info:
0.899992

%IM%convert xc:rgba(0,0,0,0.2) xc:rgba(0,0,0,0.9) +append -format %%[fx:maxima.a] info:
0.2
Tested in v6.9.1-6 on Windows 8.1.
snibgo's IM pages: im.snibgo.com
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: alpha minima >= maxima

Post by magick »

We can reproduce the problem you posted and have a patch in ImageMagick 6.9.2-5 Beta, available by sometime tomorrow. Thanks.
Post Reply