imdecodeVec function

Mat imdecodeVec(
  1. VecUChar buf,
  2. int flags, {
  3. Mat? dst,
})

Same as imdecode but accepts VecUChar

Implementation

Mat imdecodeVec(VecUChar buf, int flags, {Mat? dst}) {
  dst ??= Mat.empty();
  cvRun(() => cimgcodecs.cv_imdecode(buf.ref, flags, dst!.ptr, ffi.nullptr));
  return dst;
}