Interface: HdrifyImage
Floating point image data structure used as an intermediate format for converting between HDR and EXR formats.
This format enables format-agnostic processing and ensures consistent data structure across different environment map formats.
Properties
data
data:
Float32Array
RGBA pixel data as Float32Array: [R, G, B, A, R, G, B, A, ...]
height
height:
number
Image height in pixels
linearColorSpace
linearColorSpace:
LinearColorSpace
Linear color space (primaries) of the RGB data
metadata?
optionalmetadata?:Record<string,unknown>
Header metadata from source file (e.g. FORMAT, EXPOSURE, GAMMA for HDR; displayWindow, dataWindow, channels, compression for EXR)
width
width:
number
Image width in pixels