Taos API Reference
    Preparing search index...

    Function parseHdr

    • 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.

      Parameters

      Returns HdrData

      Image dimensions and raw RGBE bytes (4 bytes per pixel).

      If the file is not a Radiance HDR or the resolution header is unrecognized.