Skip to main content

Interface: WriteExrOptions

Properties​

compression?​

optional compression?: number | "none" | "rle" | "zips" | "zip" | "piz" | "pxr24" | "b44" | "b44a" | "dwaa" | "dwab"

Compression name (see EXR_COMPRESSIONS) or OpenEXR compression code. Default: zip.


sanitize?​

optional sanitize?: boolean

Replace negative and non-finite values with 0 before writing (default true). Set false for normal, depth or disparity data.