Hi,
Photoshop does not work properly with Radiance .HDR files:
Using FORMAT=32-bit_rle_rgbe
1) It ignores PRIMARIES variable on read, always assuming primaries to
be: sRGB with D65 WP (0.640 0.330 0.290 0.600 0.150 0.060 0.3127 0.3290)
The problem is that it makes an assumption about the default WP being 0.3127 0.3290 instead
1) I'm not quite sure about what causes this:
I converted .HDR (sRGB with D65 PRIMARIES, the only 32-bit_rle_rgbe
to xyz with Radiance library, saved it in 32-bit_rle_xyze then I
opened both of them in Photoshop and see some color shift to blue in
the converted xyz file.
Cheers,
http://radsite.lbl.gov/radiance/refer/filefmts.pdf page 30
PRIMARIES
The CIE (x,y) chromaticity coordinates of the three (RGB)
primaries and the white point used to standardize the picture's
color system. This is used mainly by the ra_xyze program to
convert between color systems. If no PRIMARIES line
appears, we assume the standard primaries defined in
src/common/color.h, namely "0.640 0.330 0.290
0.600 0.150 0.060 0.333 0.333" for red, green, blue
and white, respectively.