Page 1 of 1

Gradients in v7

Posted: 2016-02-25T22:21:43-07:00
by snibgo
v7 generates gradients with pixel values greater than 100%.

For example, with a Cygwin-compiled Q32 HDRI:

Code: Select all

%IM7DEV%magick -size 1x10 xc: -sparse-color bilinear "0,0,black 0,9,white" -precision 20 txt:
The final pixel is:

Code: Select all

0,9: (4294967296,4294967296,4294967296)  #FFFFFFFFFFFFFFFFFFFFFFFF  srgb(100.00000002328306437%,100.00000002328306437%,100.00000002328306437%)
100.00000002328306437% of 2^32 is (2^32 + 1). The values should be (2^32). IM v6.9.0-0 gives the correct values.

Re: Gradients in v7

Posted: 2016-02-26T05:16:13-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.