Analyze a document and calculate its text quality
page the page to analyze
analyzerImageSizeLimit the maximum size of the document image to run detection on. If the image is larger than the specified size it will be downscaled.
Creates a page from an image file URI. The given image will be used as the ORIGINAL image.
Use the shouldDetectDocument flag to specify whether the auto-document detection
should be performed and the (cropped) DOCUMENT image should be created.
Creates a page from image bytes. The given image will be used as the ORIGINAL image.
Use the shouldDetectDocument flag to specify whether the auto-document detection
should be performed and the (cropped) DOCUMENT image should be created.
originalImageSizeLimit the maximum size of the original image to be saved. If the original image is larger than the specified size it will be downscaled. By default, not specified.
Renders a multi-page PDF document from DOCUMENT images of the given pages
and stores it as a file. For each DOCUMENT image a separate PDF page is generated.
All given pages must contain DOCUMENT images.
Renders a multi-page TIFF image from DOCUMENT images of the given pages
and stores it as a file. For each DOCUMENT image a separate TIFF page is generated.
All given pages must contain DOCUMENT images.
Removes a page with all its files (ORIGINAL image, DOCUMENT image,
previews/thumbnails, filtered images, etc) from the file storage of the Scanbot SDK.
This method does not remove any exported files (PDF, TIFF, etc) which were
generated based on this page object.
Performs auto document detection on the ORIGINAL image of the given page
and creates a (cropped) DOCUMENT image.
The given page must contain the ORIGINAL image.
Returns Page with the detected polygon.
Creates a preview image file of the DOCUMENT image using the given filter.
Does not modify the actual DOCUMENT image of the passed page.
Use the 'applyImageFilter(page, filter)' method to finally apply an image filter on a page.