scanPixelsJson method
Decodes a colour image and hands back the document itself, for a caller that forwards documents.
Implementation
Future<String?> scanPixelsJson(
Uint8List pixels,
int width,
int height,
int format,
) => _scanJson(
'scanPixels',
pixels,
width,
height,
(m) => m.setProperty('format'.toJS, format.toJS),
);