imwritemulti
import { imwritemulti } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSfilename, img, params
FUNCTIONimwritemulti
RETURN TYPEboolean
Encode and save multiple images to a supported multi-page format in the virtual filesystem. Return whether encoding succeeded.
imwritemulti(filename: EmbindString, img: MatVector, params: IntVector): boolean;2 available overloads
imwritemulti(filename: EmbindString, img: MatVector): boolean;imwritemulti(filename: EmbindString, img: MatVector, params: IntVector): boolean;filenamefilename argument (EmbindString).
imgimg argument (MatVector).
paramsparams argument (IntVector).
Returns
The boolean result.
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.