Skip to content

ImwriteEXRCompressionFlags

Image codecsclassOpenCV 5.0.0
import { ImwriteEXRCompressionFlags } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSConstructor or factory
CLASSImwriteEXRCompressionFlags
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Native object: release it with using or delete(). Factories can return null; check before calling methods.

Native enum entries for imwrite exrcompression flags. Pass an entry to enum-typed arguments or its .value to numeric arguments.

Constructors and members

static IMWRITE_EXR_COMPRESSION_NO

ImwriteEXRCompressionFlags.IMWRITE_EXR_COMPRESSION_NO: no compression

IMWRITE_EXR_COMPRESSION_NO: ImwriteEXRCompressionFlagsValue<0>,

static IMWRITE_EXR_COMPRESSION_RLE

run length encoding

IMWRITE_EXR_COMPRESSION_RLE: ImwriteEXRCompressionFlagsValue<1>,

static IMWRITE_EXR_COMPRESSION_ZIPS

zlib compression, one scan line at a time

IMWRITE_EXR_COMPRESSION_ZIPS: ImwriteEXRCompressionFlagsValue<2>,

static IMWRITE_EXR_COMPRESSION_ZIP

zlib compression, in blocks of 16 scan lines

IMWRITE_EXR_COMPRESSION_ZIP: ImwriteEXRCompressionFlagsValue<3>,

static IMWRITE_EXR_COMPRESSION_PIZ

piz-based wavelet compression

IMWRITE_EXR_COMPRESSION_PIZ: ImwriteEXRCompressionFlagsValue<4>,

static IMWRITE_EXR_COMPRESSION_PXR24

lossy 24-bit float compression

IMWRITE_EXR_COMPRESSION_PXR24: ImwriteEXRCompressionFlagsValue<5>,

static IMWRITE_EXR_COMPRESSION_B44

lossy 4-by-4 pixel block compression, fixed compression rate

IMWRITE_EXR_COMPRESSION_B44: ImwriteEXRCompressionFlagsValue<6>,

static IMWRITE_EXR_COMPRESSION_B44A

lossy 4-by-4 pixel block compression, flat fields are compressed more

IMWRITE_EXR_COMPRESSION_B44A: ImwriteEXRCompressionFlagsValue<7>,

static IMWRITE_EXR_COMPRESSION_DWAA

lossy DCT based compression, in blocks of 32 scanlines. More efficient for partial buffer access. Supported since OpenEXR 2.2.0.

IMWRITE_EXR_COMPRESSION_DWAA: ImwriteEXRCompressionFlagsValue<8>,

static IMWRITE_EXR_COMPRESSION_DWAB

lossy DCT based compression, in blocks of 256 scanlines. More efficient space wise and faster to decode full frames than DWAA_COMPRESSION. Supported since OpenEXR 2.2.0.

IMWRITE_EXR_COMPRESSION_DWAB: ImwriteEXRCompressionFlagsValue<9>

These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.