Skip to content

ImwritePNGFilterFlags

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

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

ARGUMENTSConstructor or factory
CLASSImwritePNGFilterFlags
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.

Imwrite PNG specific values for IMWRITE_PNG_FILTER parameter key

Constructors and members

static IMWRITE_PNG_FILTER_NONE

This is a combination of IMWRITE_PNG_FILTER_NONE, IMWRITE_PNG_FILTER_SUB, and IMWRITE_PNG_FILTER_UP, typically used for faster compression.

IMWRITE_PNG_FILTER_NONE: ImwritePNGFilterFlagsValue<8>,

static IMWRITE_PNG_FILTER_SUB

This is a combination of IMWRITE_PNG_FILTER_NONE, IMWRITE_PNG_FILTER_SUB, and IMWRITE_PNG_FILTER_UP, typically used for faster compression.

IMWRITE_PNG_FILTER_SUB: ImwritePNGFilterFlagsValue<16>,

static IMWRITE_PNG_FILTER_UP

This is a combination of IMWRITE_PNG_FILTER_NONE, IMWRITE_PNG_FILTER_SUB, and IMWRITE_PNG_FILTER_UP, typically used for faster compression.

IMWRITE_PNG_FILTER_UP: ImwritePNGFilterFlagsValue<32>,

static IMWRITE_PNG_FILTER_AVG

This combines all available filters (NONE, SUB, UP, AVG, and PAETH), which will attempt to apply all of them for the best possible compression.

IMWRITE_PNG_FILTER_AVG: ImwritePNGFilterFlagsValue<64>,

static IMWRITE_PNG_FILTER_PAETH

This combines all available filters (NONE, SUB, UP, AVG, and PAETH), which will attempt to apply all of them for the best possible compression.

IMWRITE_PNG_FILTER_PAETH: ImwritePNGFilterFlagsValue<128>,

static IMWRITE_PNG_FAST_FILTERS

This combines all available filters (NONE, SUB, UP, AVG, and PAETH), which will attempt to apply all of them for the best possible compression.

IMWRITE_PNG_FAST_FILTERS: ImwritePNGFilterFlagsValue<56>,

static IMWRITE_PNG_ALL_FILTERS

This combines all available filters (NONE, SUB, UP, AVG, and PAETH), which will attempt to apply all of them for the best possible compression.

IMWRITE_PNG_ALL_FILTERS: ImwritePNGFilterFlagsValue<248>

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.