Parses a Radiance HDR (.hdr) file into raw RGBE pixel data.
Supports both the new RLE-compressed scanline format and the older uncompressed/run-encoded format.
Raw bytes of the .hdr file.
Image dimensions and raw RGBE bytes (4 bytes per pixel).
If the file is not a Radiance HDR or the resolution header is unrecognized.
Parses a Radiance HDR (.hdr) file into raw RGBE pixel data.
Supports both the new RLE-compressed scanline format and the older uncompressed/run-encoded format.