Skip to content

ImageMetadataType

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

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

ARGUMENTSConstructor or factory
CLASSImageMetadataType
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 image metadata type. Pass an entry to enum-typed arguments or its .value to numeric arguments.

Constructors and members

static IMAGE_METADATA_UNKNOWN

Used when metadata type is unrecognized or not set

IMAGE_METADATA_UNKNOWN: ImageMetadataTypeValue<-1>,

static IMAGE_METADATA_EXIF

EXIF metadata (e.g., camera info, GPS, orientation)

IMAGE_METADATA_EXIF: ImageMetadataTypeValue<0>,

static IMAGE_METADATA_XMP

XMP metadata (eXtensible Metadata Platform - Adobe format)

IMAGE_METADATA_XMP: ImageMetadataTypeValue<1>,

static IMAGE_METADATA_ICCP

ICC Profile (color profile for color management)

IMAGE_METADATA_ICCP: ImageMetadataTypeValue<2>,

static IMAGE_METADATA_CICP

cICP Profile (video signal type)

IMAGE_METADATA_CICP: ImageMetadataTypeValue<3>,

static IMAGE_METADATA_MAX

Highest valid index (usually used for bounds checking)

IMAGE_METADATA_MAX: ImageMetadataTypeValue<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.