Skip to content

ImwriteGIFCompressionFlags

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

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

ARGUMENTSConstructor or factory
CLASSImwriteGIFCompressionFlags
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 GIF specific values for IMWRITE_GIF_QUALITY parameter key, if larger than 3, then its related to the size of the color table.

Constructors and members

static IMWRITE_GIF_FAST_NO_DITHER

imwrite gif fast no dither constant (1), defined by OpenCV for cv.

IMWRITE_GIF_FAST_NO_DITHER: ImwriteGIFCompressionFlagsValue<1>,

static IMWRITE_GIF_FAST_FLOYD_DITHER

imwrite gif fast floyd dither constant (2), defined by OpenCV for cv.

IMWRITE_GIF_FAST_FLOYD_DITHER: ImwriteGIFCompressionFlagsValue<2>,

static IMWRITE_GIF_COLORTABLE_SIZE_8

imwrite gif colortable size 8 constant (3), defined by OpenCV for cv.

IMWRITE_GIF_COLORTABLE_SIZE_8: ImwriteGIFCompressionFlagsValue<3>,

static IMWRITE_GIF_COLORTABLE_SIZE_16

imwrite gif colortable size 16 constant (4), defined by OpenCV for cv.

IMWRITE_GIF_COLORTABLE_SIZE_16: ImwriteGIFCompressionFlagsValue<4>,

static IMWRITE_GIF_COLORTABLE_SIZE_32

imwrite gif colortable size 32 constant (5), defined by OpenCV for cv.

IMWRITE_GIF_COLORTABLE_SIZE_32: ImwriteGIFCompressionFlagsValue<5>,

static IMWRITE_GIF_COLORTABLE_SIZE_64

imwrite gif colortable size 64 constant (6), defined by OpenCV for cv.

IMWRITE_GIF_COLORTABLE_SIZE_64: ImwriteGIFCompressionFlagsValue<6>,

static IMWRITE_GIF_COLORTABLE_SIZE_128

imwrite gif colortable size 128 constant (7), defined by OpenCV for cv.

IMWRITE_GIF_COLORTABLE_SIZE_128: ImwriteGIFCompressionFlagsValue<7>,

static IMWRITE_GIF_COLORTABLE_SIZE_256

imwrite gif colortable size 256 constant (8), defined by OpenCV for cv.

IMWRITE_GIF_COLORTABLE_SIZE_256: ImwriteGIFCompressionFlagsValue<8>

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.