-
backgroundColor
int backgroundColor
UI background color. Default is black.
-
defaultFilter
ScanConfiguration.Filter defaultFilter
Force the use of a specific post processing filter.
If not provided, the best filter will be chosen automatically.
-
defaultFlashMode
ScanConfiguration.FlashMode defaultFlashMode
-
flashButtonHidden
boolean flashButtonHidden
The visibility of the flash button.
By default, the flash button is displayed.
-
foregroundColor
int foregroundColor
UI foreground color (text and icons). Default is white.
-
highlightColor
int highlightColor
Color of the document detection overlay. Default is blue.
-
jpegQuality
int jpegQuality
JPEG quality used to compress captured images. Between 0 and 100, 100 being the best quality.
Default is 60.
-
multiPage
boolean multiPage
-
pdfMaxScanDimension
int pdfMaxScanDimension
Max scan dimension in pixels when generating the PDF file. All scans included in the PDF file
will be scaled so that both their height and width are smaller than this value, while keeping
their aspect ratio. Default is 0, which means no scaling is applied.
-
pdfPageSize
ScanConfiguration.PdfPageSize pdfPageSize
-
postProcessingActions
java.util.EnumSet<ScanConfiguration.Action> postProcessingActions
Select which actions are displayed in the post processing screen
Default is everything.
-
source
ScanConfiguration.Source source
-
sourceImage
java.io.File sourceImage