Taos API Reference
    Preparing search index...

    Function parseExr

    • Parses an OpenEXR (.exr) file into linear floating-point RGBA pixels.

      Supports scanline images with NONE / RLE / ZIP / ZIPS / PXR24 / PIZ compression and HALF or FLOAT (and UINT) channels. Tiled, deep, and multi-part files throw. Channels named R/G/B/A map to the output; a lone luminance channel Y is replicated to RGB.

      Parameters

      Returns Promise<ExrData>

      Image dimensions and a top-left-origin Float32Array of RGBA.