1.19 xestiascan_scan_final

xestiascan_scan_final scans a document and presents a list of available output and export modules.

Parameters:

xestiascan_scan_final(confirm, pageoptions);


Usage:

$previewoptions{ScannerID} = $form_data->{'scanner'};
$previewoptions{Brightness} = $form_data->{'brightness'};
$previewoptions{Contrast} = $form_data->{'contrast'};
$previewoptions{Rotate} = $form_data->{'rotate'};
$previewoptions{Colour} = $form_data->{'colourtype'};
$previewoptions{Resolution} = $form_data->{'imagedpi'};
$previewoptions{TopLeftX} = $form_data->{'topleftx'};
$previewoptions{TopLeftY} = $form_data->{'toplefty'};
$previewoptions{BottomRightX} = $form_data->{'bottomrightx'};
$previewoptions{BottomRightY} = $form_data->{'bottomrighty'};


$page_data = xestiascan_scan_final(1, %previewoptions);


confirm
Confirms the action to scan a document

pageoptions
Specifies the following document options as a hash.

Setting Value
ScannerID Specifies the SANE Scanner ID to preview a document with.
Brightness Specifies how bright the document should have.
Contrast Specifies how much contrast the document have.
Rotate Specifies the rotation of the document (0, 90, 180, or 270 degrees).
Colour Specifies if the document should be grey or RGB.
Resolution Specifies the resolution of the document.
TopLeftX Specifies the top left X position of the document to scan from.
TopLeftY Specifies the top left Y position of the document to scan from.
BottomRightX Specifies the bottom right X position of the document to scan to.
BottomRightY Specifies the bottom right Y position of the document to scan to.