HDR conversion bug in 6.6.9.1

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
shanusmagnus
Posts: 3
Joined: 2011-04-15T22:11:34-07:00
Authentication code: 8675308

HDR conversion bug in 6.6.9.1

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: HDR conversion bug in 6.6.9.1

Post by magick »

Post a URL to your image. We need to download it to determine the problem. Our reference HDR images convert without complaint.
shanusmagnus
Posts: 3
Joined: 2011-04-15T22:11:34-07:00
Authentication code: 8675308

Re: HDR conversion bug in 6.6.9.1

Post by shanusmagnus »

User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: HDR conversion bug in 6.6.9.1

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: HDR conversion bug in 6.6.9.1

Post 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.
shanusmagnus
Posts: 3
Joined: 2011-04-15T22:11:34-07:00
Authentication code: 8675308

Re: HDR conversion bug in 6.6.9.1

Post by shanusmagnus »

Thank you for all your work -- it feels good to help.

S
Post Reply