Bug in gamma+linear_stretch with HDRI (6.6.1-3)

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
rnbc
Posts: 109
Joined: 2010-04-11T18:27:46-07:00
Authentication code: 8675308

Bug in gamma+linear_stretch with HDRI (6.6.1-3)

Post by rnbc »

I'm not so sure if this is an actual bug, since one of the operations generates values out of range... nevertheless I'm reporting it for you to appreciate.

convert input.exr -gamma 2.0 -linear-stretch 0.01%x0.01% -depth 8 -interlace line -quality 98 -sampling-factor 1x1 output.jpg

If you either remove gamma or linear-stretch the problem goes away. Of course clamp also solves it...

Image

The input and output files are here:

http://rnbc.dyndns.org/pub/imagemagick_ ... tretch.tar
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Bug in gamma+linear_stretch with HDRI (6.6.1-3)

Post by magick »

We can reproduce the problem you posted and have a patch in ImageMagick 6.6.1-4 Beta available sometime tomorrow. Thanks.
rnbc
Posts: 109
Joined: 2010-04-11T18:27:46-07:00
Authentication code: 8675308

Re: Bug in gamma+linear_stretch with HDRI (6.6.1-3)

Post by rnbc »

I confirm the bug is solved.

Apart from this small bugs I've found ImageMagick is doing an excellent work in HDRI post processing, mixing results from a bunch of tonemappings, etc...

Together with pfstools makes one of the most powerful toolchains for HDRI processing.

As always: thanks for this great tool guys!
Post Reply