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.
rnbc
Posts: 109 Joined: 2010-04-11T18:27:46-07:00
Authentication code: 8675308
Post
by rnbc » 2010-05-16T18:42:23-07:00
Hello again!
It seems that probably while solving the
quanta problems something has broke in the -auto-level command in the HDRI-enabled version...
Code: Select all
~/ImageMagick-6.6.1-5/installed/bin/convert input.exr -auto-level -gamma 2.0 -depth 8 -interlace line -quality 98 -sampling-factor 1x1 output_ok.jpg
Code: Select all
~/ImageMagick-6.6.1-9/installed/bin/convert input.exr -auto-level -gamma 2.0 -depth 8 -interlace line -quality 98 -sampling-factor 1x1 output_ko.jpg
Here are the example files:
http://rnbc.dyndns.org/pub/imagemagick_bug_auto_level/
PS: I only found this today because most of the time I use some form of tonemapping, which happens to mask the problem...
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2010-05-16T19:10:40-07:00
are you sure it is with auto-level and not one of the other commands? have you tried running -auto-level by itself?
magick
Site Admin
Posts: 11064 Joined: 2003-05-31T11:32:55-07:00
Post
by magick » 2010-05-16T19:13:25-07:00
We can reproduce the problem you posted and will have a patch in ImageMagick 6.6.1-10 Beta by sometime tomorrow. Thanks.
rnbc
Posts: 109 Joined: 2010-04-11T18:27:46-07:00
Authentication code: 8675308
Post
by rnbc » 2010-05-17T09:47:31-07:00
It works fine now, thanks again!
anthony
Posts: 8883 Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia
Post
by anthony » 2010-05-17T23:39:07-07:00
Where was this bug? I can't see any change in code.
I also can not see how -auto-level would have been effected by HDRI.
I should know, I wrote it (part of future updates for replacement of existing histogram controls).
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2010-05-18T08:45:10-07:00
changelog says it was with EXR clilpping not auto-level
rnbc
Posts: 109 Joined: 2010-04-11T18:27:46-07:00
Authentication code: 8675308
Post
by rnbc » 2010-05-18T15:00:44-07:00
Hum... well, in fact I never tested with other HDR input formats apart from EXR... so it was a bug in EXR after all, right?
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2010-05-18T16:21:43-07:00
rnbc wrote: Hum... well, in fact I never tested with other HDR input formats apart from EXR... so it was a bug in EXR after all, right?
From changelog:
2010-05-15 6.6.1-10 Cristy <quetzlzacatenango@image...>
Use ScaleCharToQuantum() in coders/src.c (reference
viewtopic.php?f=3&t=16229 ).
Don't clamp HDRI EXR pixels.
see
http://www.imagemagick.org/script/changelog.php