Function: readHdr()
readHdr(
hdrBuffer,options?):HdrifyImage
Read an HDR (Radiance) file buffer and return image data
Implementation based on Three.js HDRLoader, adapted from: http://www.graphics.cornell.edu/~bjw/rgbe.html
Parameters
hdrBuffer
Uint8Array
Uint8Array containing HDR file data
options?
ParseHDROptions = {}
Parse options (headerStrict, output)
Returns
Parsed HDR image data with dimensions and pixel data as HdrifyImage