Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Plugin and Companion App SDK
Viewing all articles
Browse latest Browse all 54282

Photoshop and Radiance .hdr format

$
0
0

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)
But according to the spec default WP, if no PRIMARIES is present, is 0.333 0.333 .
2) On write, photoshop never embeds the color profile, which is ok.
The problem is that it makes an assumption about the default WP being 0.3127 0.3290 instead
of 0.333 0.333  again.

     Using FORMAT=32-bit_rle_xyze

1) I'm not quite sure about what causes this:
I converted .HDR (sRGB with D65 PRIMARIES, the only 32-bit_rle_rgbe
format photoshop reads properly)
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.


Viewing all articles
Browse latest Browse all 54282

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>