Skip to main content

Function: decodeHdrifyImage()

decodeHdrifyImage(input): Promise<HdrifyImage>

Decode an OpenEXR, Radiance HDR or JPEG gain map (Ultra HDR / Adobe) file, detected from its content, not its name. Gzip-compressed files (such as .hdr.gz) are decompressed first.

Parameters​

input​

ArrayBuffer | Uint8Array<ArrayBufferLike>

Returns​

Promise<HdrifyImage>