Page 1 of 1

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

Posted: 2010-04-16T04:34:51-07:00
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

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

Posted: 2010-04-16T11:25:51-07:00
by magick
We can reproduce the problem you posted and have a patch in ImageMagick 6.6.1-4 Beta available sometime tomorrow. Thanks.

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

Posted: 2010-04-19T16:10:24-07:00
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!