Page 1 of 1

HDR conversion bug in 6.6.9.1

Posted: 2011-04-15T22:15:20-07:00
by shanusmagnus
Howdy -

(I just submitted this via the "Contact the Wizards" feedback form on the main site, but then became unsure about which place was the proper one to receive bug reports. Sorry for the dupe, wizards.)

I just upgraded my ImageMagick install via MacPorts, which installed 6.6.9.1. A conversion from a Radiance HDR image to a jpg which worked with 6.6.8.1 no longer works:


[cloudytown:~/temp] nugent% convert shane.hdr shane.jpg
convert: improper image header `shane.hdr' @ error/hdr.c/ReadHDRImage/369.
convert: missing an image filename `shane.jpg' @ error/convert.c/ConvertImageCommand/3011.

I downgraded back to 6.6.8.1 and all is well again, but I figured I should let ya'll know. If I can help by providing an image that breaks the system please let me know; and thanks for the awesome bit of software.

Shane

Re: HDR conversion bug in 6.6.9.1

Posted: 2011-04-16T06:03:42-07:00
by magick
Post a URL to your image. We need to download it to determine the problem. Our reference HDR images convert without complaint.

Re: HDR conversion bug in 6.6.9.1

Posted: 2011-04-16T18:04:22-07:00
by shanusmagnus

Re: HDR conversion bug in 6.6.9.1

Posted: 2011-04-16T18:27:15-07:00
by fmw42
I get the same result in IM 6.6.9.5 Q16 (non-hdri) Mac OSX Tiger with the provided linked hdr image. Not sure if I need to be in HDRI mode or not. Also not sure if the downloaded file is correct as my download appended .txt to it (sample.hdr.txt), so I removed the latter.


convert sample.hdr sample.jpg
convert: improper image header `sample.hdr' @ error/hdr.c/ReadHDRImage/369.
convert: missing an image filename `sample.jpg' @ error/convert.c/ConvertImageCommand/3011.

Re: HDR conversion bug in 6.6.9.1

Posted: 2011-04-16T18:50:56-07:00
by magick
We can reproduce the problem you reported and will have a patch in ImageMagick 6.6.9-6 within a day or two to support the 32-bit_rle_xyze format. Thanks.

Re: HDR conversion bug in 6.6.9.1

Posted: 2011-04-16T19:14:18-07:00
by shanusmagnus
Thank you for all your work -- it feels good to help.

S