Re: Issues with -clamp and -depth in HDR
Posted: 2013-04-25T05:05:10-07:00
We can reproduce the problem you posted and will have a patch in ImageMagick 6.8.5-1 Beta available within a few days. Thanks.
Use https://github.com/ImageMagick/ImageMagick/discussions instead.
https://imagemagick.com/discourse-server/
https://imagemagick.com/discourse-server/viewtopic.php?t=23234
IMv7 version of -gamma for the "magick" command (and the "convert" backward compitiblity command) was changed to call a mathematical evaluate pow rather than the cached gamma version. It probably should be backported to IMv6.pipe wrote:Yeah, what the patch does is simply to test for negative numbers just before applying the operation that would cause negative numbers to break. The level operation is left intact.
This is however not the case with the -gamma operator, which works through a lookup-table, which has the effect of both quantizing any HDR floats to 16 bits, and also clipping them to 0.0 - 1.0.