Page 1 of 1
[thanks to dlemstra - pushed IM6&IM7 fix to git repo -edit] imdisplay doesn't work with HDR (Radiance) image format
Posted: 2017-08-06T12:56:16-07:00
by Dabrosny
When this image is opened in imdisplay
Code: Select all
www.pauldebevec.com/Research/HDR/memorial.hdr
the supra-white (> 1.0) pixels are not clamped to white but are instead mangled to seemingly-random colors.
(Maybe an integer overflow or something like that?)
It displays fine if you first convert it to EXR format.
IM 7.0.6-2 Q16 HDRI x64 (Windows 7)
Re: imdisplay doesn't work with HDR (Radiance) image format
Posted: 2017-08-06T13:31:08-07:00
by fmw42
It displays fine for me in IM 6.9.8.10 Q16 HDRI and in IM 7.0.6.5 Q16 HDRI
For IM 6
For IM 7
Using Mac OSX Sierra
Re: imdisplay doesn't work with HDR (Radiance) image format
Posted: 2017-08-07T15:03:49-07:00
by Dabrosny
Can anyone on Windows reproduce the error? (especially with your Q16 HDRI-enabled IM)
In addition to IM 7.0.6-2 Q16 HDRI x64, I can reproduce the error on 32-bit IM 7.0.2-9 Q16 HDRI x86 2016-08-14
Re: imdisplay doesn't work with HDR (Radiance) image format
Posted: 2017-08-07T15:13:43-07:00
by fmw42
Perhaps you should upgrade your IM to the latest version. 7.0.2-9 is 36 versions old.
Re: imdisplay doesn't work with HDR (Radiance) image format
Posted: 2017-08-07T17:12:30-07:00
by Dabrosny
fmw42 wrote: ↑2017-08-07T15:13:43-07:00
Perhaps you should upgrade your IM to the latest version. 7.0.2-9 is 36 versions old.
As in my original post as well as in the one you are responding to (& my sig btw), i am using 7.0.6 x64 Windows. I said that I *also* reproduced the problem in 7.0.2 x86 32bit for Windows.
I'm still hoping someone will try to reproduce under Windows since you have already told us that you see no problem on your Mac.
Re: imdisplay doesn't work with HDR (Radiance) image format
Posted: 2017-08-08T07:54:49-07:00
by Dabrosny
Would anyone please try opening the mentioned memorial.hdr file in display.exe under Windows (with HDRI and/or not)?
I've now *also* tested it on a Non-hdri Cygwin ImageMagick 6.9.1-3 Q16 i686 2015-06-21 (DPC OpenMP) (Cygwin 2.0.4 32-bit) and the issue does *not* occur there.
Fred already said the issue did *not* occur on his Mac (perhaps, like cygwin, this is a unix-like build?).
So far, the problem has occurred for me in these Windows HDRI builds:
7.0.6-2 Q16 x64 2017-07-22; Visual C++: 180040629; Cipher DPC HDRI Modules OpenMP
7.0.2-9 Q16 x86 2016-08-14; Visual C++: 180040629; Cipher DPC HDRI Modules OpenMP
Re: imdisplay doesn't work with HDR (Radiance) image format
Posted: 2017-08-08T09:07:02-07:00
by fmw42
Mac and Cygwin are unix systems. If you have Windows 10. you could also test its unix environment. So it sounds like a Windows issue. Sorry, I do not have a Windows system to test or I would do it.
Re: imdisplay doesn't work with HDR (Radiance) image format
Posted: 2017-08-08T11:52:31-07:00
by snibgo
I don't use imdisplay. But the image does show as I would expect using imdisplay in both v6.9.5-3 and v7.0.3-5, Q16, non-HDRI, on Windows 8.1, if that's any help.
Re: imdisplay doesn't work with HDR (Radiance) image format
Posted: 2017-08-08T12:29:09-07:00
by Dabrosny
Can anyone out there try it with an HDRI Windows build?
Sounds like the values aren't being clamped properly in these HDRI Windows builds.
snibgo wrote: ↑2017-08-08T11:52:31-07:00
I don't use imdisplay. But the image does show as I would expect using imdisplay in both v6.9.5-3 and v7.0.3-5, Q16, non-HDRI, on Windows 8.1, if that's any help.
Re: imdisplay doesn't work with HDR (Radiance) image format
Posted: 2017-08-10T05:05:35-07:00
by GeeMack
Dabrosny wrote: ↑2017-08-08T12:29:09-07:00Can anyone out there try it with an HDRI Windows build?
Using IM 7.0.6-5 HDRI on Windows 10, and opening your memorial.hdr with imdisplay.exe, this is a screen cap of the image displayed...
Re: [Reproduced by 2nd person on 7.0.6/HDRI/Windows -edit] imdisplay doesn't work with HDR (Radiance) image format
Posted: 2017-08-10T13:01:20-07:00
by dlemstra
I just pushed a fix to our git repository to fix this in imdisplay for IM7 and IM6.