imreadmulti1
import { imreadmulti1 } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSfilename, mats, start, count
FUNCTIONimreadmulti1
RETURN TYPEboolean
Loads images of a multi-page image from a file.
The function imreadmulti loads a specified range from a multi-page image from the specified file into a vector of Mat objects.
See: cv::imread
imreadmulti1(filename: EmbindString, mats: MatVector, start: number, count: number, flags: number): boolean;2 available overloads
imreadmulti1(filename: EmbindString, mats: MatVector, start: number, count: number): boolean;imreadmulti1(filename: EmbindString, mats: MatVector, start: number, count: number, flags: number): boolean;filenameName of file to be loaded.
matsOutput destination, filled by the native operation. A vector of Mat objects holding each page.
startStart index of the image to load
countCount number of images to load
flagsFlag that can take values of cv::ImreadModes, default with cv::IMREAD_ANYCOLOR.
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.