Mobile Document Scanner API Reference / PageImage
Type Alias: PageImage
PageImage =
RasterImage|VectorImage
Defined in: src/results.ts:106
The image of a page. The document scanner decodes or draws nothing until the host application calls a method.
original keeps the blob that the page arrived as, and works as long as the page object exists. The document scanner reads processed again on each call. Thus the methods of processed reject when the page is no longer in the document: after the user deletes it, or after cancel(), reset(), or dispose() deletes the pages. To keep the processed image, call toBlob() or toCanvas() before then.