Skip to content

ImwritePAMFlags

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

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

ARGUMENTSConstructor or factory
CLASSImwritePAMFlags
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 PAM specific tupletype flags used to define the 'TUPLETYPE' field of a PAM file.

Constructors and members

static IMWRITE_PAM_FORMAT_NULL

imwrite pam format null constant (0), defined by OpenCV for cv.

IMWRITE_PAM_FORMAT_NULL: ImwritePAMFlagsValue<0>,

static IMWRITE_PAM_FORMAT_BLACKANDWHITE

imwrite pam format blackandwhite constant (1), defined by OpenCV for cv.

IMWRITE_PAM_FORMAT_BLACKANDWHITE: ImwritePAMFlagsValue<1>,

static IMWRITE_PAM_FORMAT_GRAYSCALE

imwrite pam format grayscale constant (2), defined by OpenCV for cv.

IMWRITE_PAM_FORMAT_GRAYSCALE: ImwritePAMFlagsValue<2>,

static IMWRITE_PAM_FORMAT_GRAYSCALE_ALPHA

imwrite pam format grayscale alpha constant (3), defined by OpenCV for cv.

IMWRITE_PAM_FORMAT_GRAYSCALE_ALPHA: ImwritePAMFlagsValue<3>,

static IMWRITE_PAM_FORMAT_RGB

imwrite pam format rgb constant (4), defined by OpenCV for cv.

IMWRITE_PAM_FORMAT_RGB: ImwritePAMFlagsValue<4>,

static IMWRITE_PAM_FORMAT_RGB_ALPHA

imwrite pam format rgb alpha constant (5), defined by OpenCV for cv.

IMWRITE_PAM_FORMAT_RGB_ALPHA: ImwritePAMFlagsValue<5>

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.