Skip to content

ImwriteTiffPredictorFlags

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

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

ARGUMENTSConstructor or factory
CLASSImwriteTiffPredictorFlags
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 tiff predictor flags. Pass an entry to enum-typed arguments or its .value to numeric arguments.

Constructors and members

static IMWRITE_TIFF_PREDICTOR_NONE

no prediction scheme used

IMWRITE_TIFF_PREDICTOR_NONE: ImwriteTiffPredictorFlagsValue<1>,

static IMWRITE_TIFF_PREDICTOR_HORIZONTAL

horizontal differencing

IMWRITE_TIFF_PREDICTOR_HORIZONTAL: ImwriteTiffPredictorFlagsValue<2>,

static IMWRITE_TIFF_PREDICTOR_FLOATINGPOINT

floating point predictor

IMWRITE_TIFF_PREDICTOR_FLOATINGPOINT: ImwriteTiffPredictorFlagsValue<3>

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.