Reputation: 4501
What image formats that support 32-bit floating point values (per channel)? I would like to read and write uncompressed 32-bit RGB images in C++ as simply as possible.
There is OpenEXR, but it's rather complex and so far I didn't get the open library to work.
Then there is TIFF but LibTiff seems to have some issues with 32bit fp tiffs.
There is also Radiance .hdr which is fairly simple - but unfortunately applies some kind of lossy compression
What other image formats are there that support 32bit floats?
Upvotes: 1
Views: 3847
Reputation: 8851
Microsoft HD Photo Format supports 128bpp floating point for RGB and RGBA
Search for the following on the Native Pixel Formats page
GUID_WICPixelFormat128bppRGBFloat
GUID_WICPixelFormat128bppRGBAFloat
EDIT:
For the benefit of others who are interested in this format:
Microsoft submitted this format for standardization as JPEG XR. In July 2010, reference software to implement the JPEG XR standard was published as ITU-T Recommendation T.835 and International Standard ISO/IEC 29199-5. The bitstream specification of the JPEG XR standard can be downloaded from ITU-T at http://www.itu.int/rec/T-REC-T.832
Key benefits of the HD Photo/ JPEG XR -
Microsoft released a Device Porting Kit (DPK) providing implementation details for encoder/decoder, including sample reference code for use with Unix/Linux platforms.
Upvotes: 2