Mageia Bugzilla – Attachment 12866 Details for
Bug 29246
PDF files generated by gscan2pdf are blank
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
log from gscan2pdf
gscan2pdf.log (text/plain), 143.44 KB, created by
Aurelien Oudelet
on 2021-07-16 10:26:11 CEST
(
hide
)
Description:
log from gscan2pdf
Filename:
MIME Type:
Creator:
Aurelien Oudelet
Created:
2021-07-16 10:26:11 CEST
Size:
143.44 KB
patch
obsolete
>INFO - Starting gscan2pdf 2.11.0 >INFO - Called with /usr/bin/gscan2pdf --log=/tmp/gscan2pdf.log >INFO - Log level DEBUG >INFO - Using fr_FR.UTF-8 locale >INFO - Startup LC_NUMERIC C >INFO - Reading config from /home/aurelien/.gscan2pdf >INFO - Config file version 2 >DEBUG - $VAR1 = {}; > >INFO - Wrote config to /home/aurelien/.config/gscan2pdfrc >INFO - Operating system: linux >INFO - LSB_VERSION= >DISTRIB_ID="Mageia" >DISTRIB_RELEASE=8 >DISTRIB_CODENAME=mga8 >DISTRIB_DESCRIPTION="Mageia 8" >INFO - Mageia release 8 (Official) for x86_64 >INFO - Mageia release 8 (Official) for x86_64 >INFO - Mageia release 8 (Official) for x86_64 >INFO - Mageia release 8 (Official) for x86_64 >INFO - NAME="Mageia" >VERSION="8" >ID=mageia >VERSION_ID=8 >ID_LIKE="mandriva fedora" >PRETTY_NAME="Mageia 8" >ANSI_COLOR="1;36" >HOME_URL="https://www.mageia.org/" >SUPPORT_URL="https://www.mageia.org/support/" >BUG_REPORT_URL="https://bugs.mageia.org/" >PRIVACY_POLICY_URL="https://wiki.mageia.org/en/Privacy_policy" >INFO - Mageia release 8 (Official) for x86_64 >INFO - Mageia release 8 (Official) for x86_64 >INFO - Perl version v5.32.1 >INFO - Glib-Perl version 1.3293 >INFO - Glib::Object::Introspection version 0.049 >INFO - Built for Glib 2.64.3 >INFO - Running with Glib 2.66.8 >INFO - Gtk3-Perl version 0.037 >INFO - Built for GTK 3.24.24 >INFO - Running with GTK 3.24.24 >INFO - Gtk3::SimpleList version 0.21 >INFO - Gscan2pdf::Document version 2.11.0 >INFO - Using Gtk3::ImageView version 4 >INFO - Using PDF::Builder version 3.021 >INFO - Using Sane version 1.0.31 >INFO - Using libimage-sane-perl version 5 >DEBUG - $VAR1 = { > 'Blank threshold' => '0.005', > 'Dark threshold' => '0.12', > 'OCR on scan' => 1, > 'OCR output' => 'replace', > 'Page range' => 'all', > 'Paper' => { > 'A3' => { > 'l' => 0, > 't' => 0, > 'x' => 297, > 'y' => 420 > }, > 'A4' => { > 'l' => 0, > 't' => 0, > 'x' => 210, > 'y' => 297 > }, > 'Lettre US' => { > 'l' => 0, > 't' => 0, > 'x' => 216, > 'y' => 279 > }, > "L\x{e9}gal US" => { > 'l' => 0, > 't' => 0, > 'x' => 216, > 'y' => 356 > } > }, > 'SANE version' => '1.0.31', > 'TMPDIR' => undef, > 'adf-defaults-scan-all-pages' => 1, > 'allow-batch-flatbed' => '', > 'author' => undef, > 'author-suggestions' => undef, > 'auto-open-scan-dialog' => 1, > 'available-tmp-warning' => 10, > 'brightness tool' => 65, > 'cache' => undef, > 'cache options' => 1, > 'cache-device-list' => 1, > 'cancel-between-pages' => '', > 'close_dialog_on_save' => 1, > 'contrast tool' => 65, > 'convert whitespace to underscores' => '', > 'current_psh' => undef, > 'current_udt' => undef, > 'cwd' => undef, > 'cycle sane handle' => '', > 'datetime offset' => [ > 0, > 0, > 0, > 0 > ], > 'default filename' => '%Da %DY-%Dm-%Dd.%De', > 'default profile' => undef, > 'default-scan-options' => undef, > 'device' => undef, > 'device blacklist' => undef, > 'device list' => [], > 'downsample' => '', > 'downsample dpi' => 150, > 'frontend' => 'libimage-sane-perl', > 'ignore-duplex-capabilities' => '', > 'image type' => undef, > 'keywords' => undef, > 'keywords-suggestions' => undef, > 'libimage-sane-perl version' => '5', > 'message' => {}, > 'message_window_height' => 200, > 'message_window_width' => 600, > 'ocr engine' => 'tesseract', > 'ocr language' => undef, > 'pdf compression' => 'auto', > 'pdf font' => undef, > 'post_save_hook' => '', > 'profile' => undef, > 'ps_backend' => 'pdftops', > 'quality' => 75, > 'restore window' => 1, > 'rotate facing' => 0, > 'rotate reverse' => 0, > 'scan prefix' => '', > 'scan-reload-triggers' => 'mode', > 'scan_window_height' => undef, > 'scan_window_width' => undef, > 'selection' => undef, > 'set_timestamp' => 1, > 'subject' => undef, > 'subject-suggestions' => undef, > 'text_position' => 'behind', > 'threshold tool' => 80, > 'threshold-before-ocr' => '', > 'thumb panel' => 100, > 'tiff compression' => undef, > 'title' => undef, > 'title-suggestions' => undef, > 'to_png' => 1, > 'udt_on_scan' => '', > 'unpaper on scan' => '', > 'unpaper options' => undef, > 'unsharp amount' => 1, > 'unsharp radius' => 0, > 'unsharp sigma' => 1, > 'unsharp threshold' => '0.05', > 'use_time' => '', > 'use_timezone' => 1, > 'user_defined_tools' => [ > 'gimp %i' > ], > 'version' => undef, > 'view files toggle' => 1, > 'viewer_tools' => 100, > 'visible-scan-options' => { > 'Paper size' => 1, > 'adf-mode' => 1, > 'adf_mode' => 1, > 'batch-scan' => 1, > 'brightness' => 1, > 'button-wait' => 1, > 'calibration-cache' => 1, > 'compression' => 1, > 'contrast' => 1, > 'gain' => 1, > 'l' => 1, > 'mode' => 1, > 'overscan-bottom' => 1, > 'overscan-top' => 1, > 'page-height' => 1, > 'page-width' => 1, > 'pageheight' => 1, > 'pagewidth' => 1, > 'resolution' => 1, > 'source' => 1, > 'speed' => 1, > 't' => 1, > 'threshold' => 1, > 'wait-for-button' => 1, > 'x' => 1, > 'y' => 1 > }, > 'window_height' => 600, > 'window_maximize' => 1, > 'window_width' => 800, > 'window_x' => undef, > 'window_y' => undef > }; > >INFO - scanimage --version >INFO - Forked PID 103676 >INFO - Checking /tmp for crashed sessions >INFO - Using /tmp/gscan2pdf-Gs6H for temporary files >INFO - which tesseract >INFO - Spawned PID 103704 >INFO - which ocroscript >INFO - Spawned PID 103705 >INFO - which cuneiform >INFO - Spawned PID 103706 >INFO - unpaper --version >INFO - Spawned PID 103707 >INFO - Found Image::Magick 7.0.10 >INFO - Found unpaper 6.1 >INFO - convert --version >INFO - Spawned PID 103708 >INFO - Found imagemagick 7.0.10-62 >INFO - gm -version >INFO - Spawned PID 103709 >INFO - Found graphicsmagick 1.3.36 >INFO - scanadf --version >INFO - Spawned PID 103710 >INFO - Found scanadf 1.0.14 >INFO - xdg-email --version >INFO - Spawned PID 103711 >INFO - Found xdg 1.1.3 >INFO - gocr -h >INFO - Spawned PID 103712 >INFO - Found gocr 0.52 20181015 >INFO - cjb2 --version >INFO - Spawned PID 103713 >INFO - Found djvu 3.5.28 >INFO - tiffcp -h >INFO - Spawned PID 103714 >INFO - Found libtiff 4.2.0 >INFO - pdftops -v >INFO - Spawned PID 103715 >INFO - Found pdftops 20.12.1 >INFO - pdfunite -v >INFO - Spawned PID 103716 >INFO - Found pdfunite 20.12.1 >INFO - gs --version >INFO - Spawned PID 103717 >INFO - Found pdf2ps 9.53.3 >INFO - pdftk --version >INFO - pdftk --version: command not found >INFO - xz --version >INFO - Spawned PID 103719 >INFO - Found xz 5.2.5 >INFO - fc-list : family style file >INFO - Spawned PID 103720 >DEBUG - Set logger in Gscan2pdf::Dialog::Scan::Image_Sane >DEBUG - Set logger in Gscan2pdf::Dialog::Scan >DEBUG - Started setting dir from undef to $VAR1 = bless( { > 'CLEANUP' => 1, > 'DIRNAME' => '/tmp/gscan2pdf-Gs6H', > 'LAUNCHPID' => 102496, > 'REALNAME' => '/tmp/gscan2pdf-Gs6H' > }, 'File::Temp::Dir' ); > >DEBUG - Finished setting dir from undef to $VAR1 = bless( { > 'CLEANUP' => 1, > 'DIRNAME' => '/tmp/gscan2pdf-Gs6H', > 'LAUNCHPID' => 102496, > 'REALNAME' => '/tmp/gscan2pdf-Gs6H' > }, 'File::Temp::Dir' ); > >DEBUG - Started setting document from undef to $VAR1 = bless( { > 'data' => [], > 'dir' => bless( { > 'CLEANUP' => 1, > 'DIRNAME' => '/tmp/gscan2pdf-Gs6H', > 'LAUNCHPID' => 102496, > 'REALNAME' => '/tmp/gscan2pdf-Gs6H' > }, 'File::Temp::Dir' ), > 'heightt' => 100, > 'row_changed_signal' => 174, > 'selection_changed_signal' => 1988, > 'widtht' => 100 > }, 'Gscan2pdf::Document' ); > >DEBUG - Finished setting document from undef to $VAR1 = bless( { > 'data' => [], > 'dir' => bless( { > 'CLEANUP' => 1, > 'DIRNAME' => '/tmp/gscan2pdf-Gs6H', > 'LAUNCHPID' => 102496, > 'REALNAME' => '/tmp/gscan2pdf-Gs6H' > }, 'File::Temp::Dir' ), > 'heightt' => 100, > 'row_changed_signal' => 174, > 'selection_changed_signal' => 1988, > 'widtht' => 100 > }, 'Gscan2pdf::Document' ); > >DEBUG - Started setting paper_formats from undef to $VAR1 = { > 'A3' => { > 'l' => 0, > 't' => 0, > 'x' => 297, > 'y' => 420 > }, > 'A4' => { > 'l' => 0, > 't' => 0, > 'x' => 210, > 'y' => 297 > }, > 'Lettre US' => { > 'l' => 0, > 't' => 0, > 'x' => 216, > 'y' => 279 > }, > "L\x{e9}gal US" => { > 'l' => 0, > 't' => 0, > 'x' => 216, > 'y' => 356 > } > }; > >DEBUG - Finished setting paper_formats from undef to $VAR1 = { > 'A3' => { > 'l' => 0, > 't' => 0, > 'x' => 297, > 'y' => 420 > }, > 'A4' => { > 'l' => 0, > 't' => 0, > 'x' => 210, > 'y' => 297 > }, > 'Lettre US' => { > 'l' => 0, > 't' => 0, > 'x' => 216, > 'y' => 279 > }, > "L\x{e9}gal US" => { > 'l' => 0, > 't' => 0, > 'x' => 216, > 'y' => 356 > } > }; > >DEBUG - Started setting cursor from default to wait >DEBUG - Finished setting cursor from default to wait >INFO - Waiting to reap process >INFO - Reaped PID -1 >INFO - Sane->get_devices returned: $VAR1 = [ > { > 'model' => 'HD Pro Webcam C920', > 'name' => 'v4l:/dev/video0', > 'type' => 'virtual device', > 'vendor' => 'Noname' > }, > { > 'model' => 'Canon PIXMA MG7700 Series', > 'name' => 'pixma:MG7700_10A17C000000', > 'type' => 'multi-function peripheral', > 'vendor' => 'CANON' > } > ]; > >DEBUG - Started setting device_list from undef to $VAR1 = [ > { > 'model' => 'HD Pro Webcam C920', > 'name' => 'v4l:/dev/video0', > 'type' => 'virtual device', > 'vendor' => 'Noname' > }, > { > 'model' => 'Canon PIXMA MG7700 Series', > 'name' => 'pixma:MG7700_10A17C000000', > 'type' => 'multi-function peripheral', > 'vendor' => 'CANON' > } > ]; > >INFO - signal 'changed-device-list' emitted with data: $VAR1 = [ > { > 'label' => 'Noname HD Pro Webcam C920', > 'model' => 'HD Pro Webcam C920', > 'name' => 'v4l:/dev/video0', > 'type' => 'virtual device', > 'vendor' => 'Noname' > }, > { > 'label' => 'CANON Canon PIXMA MG7700 Series', > 'model' => 'Canon PIXMA MG7700 Series', > 'name' => 'pixma:MG7700_10A17C000000', > 'type' => 'multi-function peripheral', > 'vendor' => 'CANON' > } > ]; > >DEBUG - Started setting device from to v4l:/dev/video0 >INFO - signal 'changed-device' emitted with data: 'v4l:/dev/video0' >DEBUG - Finished setting device from to v4l:/dev/video0 >DEBUG - Finished setting device_list from undef to $VAR1 = [ > { > 'model' => 'HD Pro Webcam C920', > 'name' => 'v4l:/dev/video0', > 'type' => 'virtual device', > 'vendor' => 'Noname' > }, > { > 'model' => 'Canon PIXMA MG7700 Series', > 'name' => 'pixma:MG7700_10A17C000000', > 'type' => 'multi-function peripheral', > 'vendor' => 'CANON' > } > ]; > >DEBUG - Started setting cursor from wait to default >DEBUG - Finished setting cursor from wait to default >DEBUG - opened device 'v4l:/dev/video0' >DEBUG - Started setting cursor from default to wait >DEBUG - Finished setting cursor from default to wait >DEBUG - signal 'started-process' emitted with message: Ouvrir le périphérique >DEBUG - signal 'finished-process' emitted with data: open_device >DEBUG - Backend reports 15 options >DEBUG - signal 'started-process' emitted with message: Retrieving options >DEBUG - Sane->get_option_descriptor returned: $VAR1 = bless( { > 'array' => [ > { > 'index' => 0 > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => '', > 'index' => 1, > 'max_values' => 1, > 'title' => 'Scan Mode', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 5, > 'constraint' => [ > 'Gray', > 'Color' > ], > 'constraint_type' => 3, > 'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', > 'index' => 2, > 'max_values' => 1, > 'name' => 'mode', > 'title' => 'Scan mode', > 'type' => 3, > 'unit' => 0, > 'val' => 'Gray' > }, > { > 'cap' => 37, > 'constraint' => [ > 'Camera 1' > ], > 'constraint_type' => 3, > 'desc' => 'Selects the channel of the v4l device (e.g. television or video-in.', > 'index' => 3, > 'max_values' => 1, > 'name' => 'channel', > 'title' => 'Channel', > 'type' => 3, > 'unit' => 0 > }, > { > 'cap' => 64, > 'constraint_type' => 0, > 'desc' => '', > 'index' => 4, > 'max_values' => 1, > 'title' => 'Geometry', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 37, > 'constraint' => { > 'max' => 607, > 'min' => 0, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Top-left x position of scan area.', > 'index' => 5, > 'max_values' => 1, > 'name' => 'tl-x', > 'title' => 'Top-left x', > 'type' => 1, > 'unit' => 1 > }, > { > 'cap' => 37, > 'constraint' => { > 'max' => 421, > 'min' => 0, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Top-left y position of scan area.', > 'index' => 6, > 'max_values' => 1, > 'name' => 'tl-y', > 'title' => 'Top-left y', > 'type' => 1, > 'unit' => 1 > }, > { > 'cap' => 37, > 'constraint' => { > 'max' => 767, > 'min' => 160, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Bottom-right x position of scan area.', > 'index' => 7, > 'max_values' => 1, > 'name' => 'br-x', > 'title' => 'Bottom-right x', > 'type' => 1, > 'unit' => 1 > }, > { > 'cap' => 37, > 'constraint' => { > 'max' => 511, > 'min' => 90, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Bottom-right y position of scan area.', > 'index' => 8, > 'max_values' => 1, > 'name' => 'br-y', > 'title' => 'Bottom-right y', > 'type' => 1, > 'unit' => 1 > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => '', > 'index' => 9, > 'max_values' => 1, > 'title' => 'Enhancement', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Controls the brightness of the acquired image.', > 'index' => 10, > 'max_values' => 1, > 'name' => 'brightness', > 'title' => 'Brightness', > 'type' => 1, > 'unit' => 0, > 'val' => 128 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Controls the "hue" (blue-level) of the acquired image.', > 'index' => 11, > 'max_values' => 1, > 'name' => 'hue', > 'title' => 'Hue', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Sets the picture\'s color.', > 'index' => 12, > 'max_values' => 1, > 'name' => 'color', > 'title' => 'Picture color', > 'type' => 1, > 'unit' => 0, > 'val' => 128 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Controls the contrast of the acquired image.', > 'index' => 13, > 'max_values' => 1, > 'name' => 'contrast', > 'title' => 'Contrast', > 'type' => 1, > 'unit' => 0, > 'val' => 128 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Selects what radiance level should be considered "white".', > 'index' => 14, > 'max_values' => 1, > 'name' => 'white-level', > 'title' => 'White level', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > } > ], > 'geometry' => { > 'l' => 0, > 't' => 0, > 'x' => 767, > 'y' => 511 > }, > 'hash' => { > 'br-x' => $VAR1->{'array'}[7], > 'br-y' => $VAR1->{'array'}[8], > 'brightness' => $VAR1->{'array'}[10], > 'channel' => $VAR1->{'array'}[3], > 'color' => $VAR1->{'array'}[12], > 'contrast' => $VAR1->{'array'}[13], > 'hue' => $VAR1->{'array'}[11], > 'mode' => $VAR1->{'array'}[2], > 'tl-x' => $VAR1->{'array'}[5], > 'tl-y' => $VAR1->{'array'}[6], > 'white-level' => $VAR1->{'array'}[14] > } > }, 'Gscan2pdf::Scanner::Options' ); > >DEBUG - signal 'finished-process' emitted with data: find_scan_options >DEBUG - Started setting available_scan_options from undef to $VAR1 = bless( { > 'array' => [ > { > 'index' => 0 > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => '', > 'index' => 1, > 'max_values' => 1, > 'title' => 'Scan Mode', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 5, > 'constraint' => [ > 'Gray', > 'Color' > ], > 'constraint_type' => 3, > 'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', > 'index' => 2, > 'max_values' => 1, > 'name' => 'mode', > 'title' => 'Scan mode', > 'type' => 3, > 'unit' => 0, > 'val' => 'Gray' > }, > { > 'cap' => 37, > 'constraint' => [ > 'Camera 1' > ], > 'constraint_type' => 3, > 'desc' => 'Selects the channel of the v4l device (e.g. television or video-in.', > 'index' => 3, > 'max_values' => 1, > 'name' => 'channel', > 'title' => 'Channel', > 'type' => 3, > 'unit' => 0 > }, > { > 'cap' => 64, > 'constraint_type' => 0, > 'desc' => '', > 'index' => 4, > 'max_values' => 1, > 'title' => 'Geometry', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 37, > 'constraint' => { > 'max' => 607, > 'min' => 0, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Top-left x position of scan area.', > 'index' => 5, > 'max_values' => 1, > 'name' => 'tl-x', > 'title' => 'Top-left x', > 'type' => 1, > 'unit' => 1 > }, > { > 'cap' => 37, > 'constraint' => { > 'max' => 421, > 'min' => 0, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Top-left y position of scan area.', > 'index' => 6, > 'max_values' => 1, > 'name' => 'tl-y', > 'title' => 'Top-left y', > 'type' => 1, > 'unit' => 1 > }, > { > 'cap' => 37, > 'constraint' => { > 'max' => 767, > 'min' => 160, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Bottom-right x position of scan area.', > 'index' => 7, > 'max_values' => 1, > 'name' => 'br-x', > 'title' => 'Bottom-right x', > 'type' => 1, > 'unit' => 1 > }, > { > 'cap' => 37, > 'constraint' => { > 'max' => 511, > 'min' => 90, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Bottom-right y position of scan area.', > 'index' => 8, > 'max_values' => 1, > 'name' => 'br-y', > 'title' => 'Bottom-right y', > 'type' => 1, > 'unit' => 1 > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => '', > 'index' => 9, > 'max_values' => 1, > 'title' => 'Enhancement', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Controls the brightness of the acquired image.', > 'index' => 10, > 'max_values' => 1, > 'name' => 'brightness', > 'title' => 'Brightness', > 'type' => 1, > 'unit' => 0, > 'val' => 128 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Controls the "hue" (blue-level) of the acquired image.', > 'index' => 11, > 'max_values' => 1, > 'name' => 'hue', > 'title' => 'Hue', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Sets the picture\'s color.', > 'index' => 12, > 'max_values' => 1, > 'name' => 'color', > 'title' => 'Picture color', > 'type' => 1, > 'unit' => 0, > 'val' => 128 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Controls the contrast of the acquired image.', > 'index' => 13, > 'max_values' => 1, > 'name' => 'contrast', > 'title' => 'Contrast', > 'type' => 1, > 'unit' => 0, > 'val' => 128 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Selects what radiance level should be considered "white".', > 'index' => 14, > 'max_values' => 1, > 'name' => 'white-level', > 'title' => 'White level', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > } > ], > 'geometry' => { > 'l' => 0, > 't' => 0, > 'x' => 767, > 'y' => 511 > }, > 'hash' => { > 'br-x' => $VAR1->{'array'}[7], > 'br-y' => $VAR1->{'array'}[8], > 'brightness' => $VAR1->{'array'}[10], > 'channel' => $VAR1->{'array'}[3], > 'color' => $VAR1->{'array'}[12], > 'contrast' => $VAR1->{'array'}[13], > 'hue' => $VAR1->{'array'}[11], > 'mode' => $VAR1->{'array'}[2], > 'tl-x' => $VAR1->{'array'}[5], > 'tl-y' => $VAR1->{'array'}[6], > 'white-level' => $VAR1->{'array'}[14] > } > }, 'Gscan2pdf::Scanner::Options' ); > >DEBUG - Finished setting available_scan_options from undef to $VAR1 = bless( { > 'array' => [ > { > 'index' => 0 > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => '', > 'index' => 1, > 'max_values' => 1, > 'title' => 'Scan Mode', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 5, > 'constraint' => [ > 'Gray', > 'Color' > ], > 'constraint_type' => 3, > 'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', > 'index' => 2, > 'max_values' => 1, > 'name' => 'mode', > 'title' => 'Scan mode', > 'type' => 3, > 'unit' => 0, > 'val' => 'Gray' > }, > { > 'cap' => 37, > 'constraint' => [ > 'Camera 1' > ], > 'constraint_type' => 3, > 'desc' => 'Selects the channel of the v4l device (e.g. television or video-in.', > 'index' => 3, > 'max_values' => 1, > 'name' => 'channel', > 'title' => 'Channel', > 'type' => 3, > 'unit' => 0 > }, > { > 'cap' => 64, > 'constraint_type' => 0, > 'desc' => '', > 'index' => 4, > 'max_values' => 1, > 'title' => 'Geometry', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 37, > 'constraint' => { > 'max' => 607, > 'min' => 0, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Top-left x position of scan area.', > 'index' => 5, > 'max_values' => 1, > 'name' => 'tl-x', > 'title' => 'Top-left x', > 'type' => 1, > 'unit' => 1 > }, > { > 'cap' => 37, > 'constraint' => { > 'max' => 421, > 'min' => 0, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Top-left y position of scan area.', > 'index' => 6, > 'max_values' => 1, > 'name' => 'tl-y', > 'title' => 'Top-left y', > 'type' => 1, > 'unit' => 1 > }, > { > 'cap' => 37, > 'constraint' => { > 'max' => 767, > 'min' => 160, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Bottom-right x position of scan area.', > 'index' => 7, > 'max_values' => 1, > 'name' => 'br-x', > 'title' => 'Bottom-right x', > 'type' => 1, > 'unit' => 1 > }, > { > 'cap' => 37, > 'constraint' => { > 'max' => 511, > 'min' => 90, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Bottom-right y position of scan area.', > 'index' => 8, > 'max_values' => 1, > 'name' => 'br-y', > 'title' => 'Bottom-right y', > 'type' => 1, > 'unit' => 1 > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => '', > 'index' => 9, > 'max_values' => 1, > 'title' => 'Enhancement', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Controls the brightness of the acquired image.', > 'index' => 10, > 'max_values' => 1, > 'name' => 'brightness', > 'title' => 'Brightness', > 'type' => 1, > 'unit' => 0, > 'val' => 128 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Controls the "hue" (blue-level) of the acquired image.', > 'index' => 11, > 'max_values' => 1, > 'name' => 'hue', > 'title' => 'Hue', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Sets the picture\'s color.', > 'index' => 12, > 'max_values' => 1, > 'name' => 'color', > 'title' => 'Picture color', > 'type' => 1, > 'unit' => 0, > 'val' => 128 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Controls the contrast of the acquired image.', > 'index' => 13, > 'max_values' => 1, > 'name' => 'contrast', > 'title' => 'Contrast', > 'type' => 1, > 'unit' => 0, > 'val' => 128 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Selects what radiance level should be considered "white".', > 'index' => 14, > 'max_values' => 1, > 'name' => 'white-level', > 'title' => 'White level', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > } > ], > 'geometry' => { > 'l' => 0, > 't' => 0, > 'x' => 767, > 'y' => 511 > }, > 'hash' => { > 'br-x' => $VAR1->{'array'}[7], > 'br-y' => $VAR1->{'array'}[8], > 'brightness' => $VAR1->{'array'}[10], > 'channel' => $VAR1->{'array'}[3], > 'color' => $VAR1->{'array'}[12], > 'contrast' => $VAR1->{'array'}[13], > 'hue' => $VAR1->{'array'}[11], > 'mode' => $VAR1->{'array'}[2], > 'tl-x' => $VAR1->{'array'}[5], > 'tl-y' => $VAR1->{'array'}[6], > 'white-level' => $VAR1->{'array'}[14] > } > }, 'Gscan2pdf::Scanner::Options' ); > >DEBUG - Options support paper size 'A4'. >DEBUG - Options support paper size 'Lettre US'. >DEBUG - Options support paper size 'Légal US'. >DEBUG - Options support paper size 'A3'. >DEBUG - Started setting cursor from wait to default >DEBUG - Finished setting cursor from wait to default >DEBUG - Started setting device from v4l:/dev/video0 to pixma:MG7700_10A17C000000 >INFO - signal 'changed-device' emitted with data: 'pixma:MG7700_10A17C000000' >DEBUG - Finished setting device from v4l:/dev/video0 to pixma:MG7700_10A17C000000 >DEBUG - Started setting cursor from default to wait >DEBUG - Finished setting cursor from default to wait >DEBUG - signal 'started-process' emitted with message: Ouvrir le périphérique >DEBUG - opened device 'pixma:MG7700_10A17C000000' >DEBUG - signal 'finished-process' emitted with data: open_device >DEBUG - Backend reports 29 options >DEBUG - signal 'started-process' emitted with message: Retrieving options >DEBUG - Sane->get_option_descriptor returned: $VAR1 = bless( { > 'array' => [ > { > 'index' => 0 > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => 'Scan mode', > 'index' => 1, > 'max_values' => 0, > 'title' => 'Scan mode', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 21, > 'constraint' => [ > 75, > 150, > 300, > 600, > 1200, > 2400 > ], > 'constraint_type' => 2, > 'desc' => 'Sets the resolution of the scanned image.', > 'index' => 2, > 'max_values' => 1, > 'name' => 'resolution', > 'title' => 'Scan resolution', > 'type' => 1, > 'unit' => 4, > 'val' => 75 > }, > { > 'cap' => 21, > 'constraint' => [ > 'Color', > 'Gray', > 'Lineart' > ], > 'constraint_type' => 3, > 'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', > 'index' => 3, > 'max_values' => 1, > 'name' => 'mode', > 'title' => 'Scan mode', > 'type' => 3, > 'unit' => 0, > 'val' => 'Color' > }, > { > 'cap' => 5, > 'constraint' => [ > 'Flatbed' > ], > 'constraint_type' => 3, > 'desc' => 'Selects the scan source (such as a document-feeder). Set source before mode and resolution. Resets mode and resolution to auto values.', > 'index' => 4, > 'max_values' => 1, > 'name' => 'source', > 'title' => 'Scan source', > 'type' => 3, > 'unit' => 0, > 'val' => 'Flatbed' > }, > { > 'cap' => 5, > 'constraint_type' => 0, > 'desc' => 'When enabled, scan process will not start immediately. To proceed, press "SCAN" button (for MP150) or "COLOR" button (for other models). To cancel, press "GRAY" button.', > 'index' => 5, > 'max_values' => 1, > 'name' => 'button-controlled', > 'title' => 'Button-controlled scan', > 'type' => 0, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => 'Gamma', > 'index' => 6, > 'max_values' => 0, > 'title' => 'Gamma', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 21, > 'constraint_type' => 0, > 'desc' => 'Determines whether a builtin or a custom gamma-table should be used.', > 'index' => 7, > 'max_values' => 1, > 'name' => 'custom-gamma', > 'title' => 'Use custom gamma table', > 'type' => 0, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 53, > 'constraint' => { > 'max' => 65535, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Gamma-correction table with 1024 entries. In color mode this option equally affects the red, green, and blue channels simultaneously (i.e., it is an intensity gamma table).', > 'index' => 8, > 'max_values' => 1024, > 'name' => 'gamma-table', > 'title' => 'Image intensity', > 'type' => 1, > 'unit' => 0 > }, > { > 'cap' => 21, > 'constraint' => { > 'max' => 5, > 'min' => '0.29998779296875', > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Changes intensity of midtones', > 'index' => 9, > 'max_values' => 1, > 'name' => 'gamma', > 'title' => 'Gamma function exponent', > 'type' => 2, > 'unit' => 0, > 'val' => '2.19999694824219' > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => 'Geometry', > 'index' => 10, > 'max_values' => 0, > 'title' => 'Geometry', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 21, > 'constraint' => { > 'max' => '216.069320678711', > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Top-left x position of scan area.', > 'index' => 11, > 'max_values' => 1, > 'name' => 'tl-x', > 'title' => 'Top-left x', > 'type' => 2, > 'unit' => 3, > 'val' => 0 > }, > { > 'cap' => 21, > 'constraint' => { > 'max' => '297.010665893555', > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Top-left y position of scan area.', > 'index' => 12, > 'max_values' => 1, > 'name' => 'tl-y', > 'title' => 'Top-left y', > 'type' => 2, > 'unit' => 3, > 'val' => 0 > }, > { > 'cap' => 21, > 'constraint' => { > 'max' => '216.069320678711', > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Bottom-right x position of scan area.', > 'index' => 13, > 'max_values' => 1, > 'name' => 'br-x', > 'title' => 'Bottom-right x', > 'type' => 2, > 'unit' => 3, > 'val' => '216.069320678711' > }, > { > 'cap' => 21, > 'constraint' => { > 'max' => '297.010665893555', > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Bottom-right y position of scan area.', > 'index' => 14, > 'max_values' => 1, > 'name' => 'br-y', > 'title' => 'Bottom-right y', > 'type' => 2, > 'unit' => 3, > 'val' => '297.010665893555' > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => 'Buttons', > 'index' => 15, > 'max_values' => 0, > 'title' => 'Buttons', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 69, > 'constraint_type' => 0, > 'desc' => 'Update button state', > 'index' => 16, > 'max_values' => 0, > 'name' => 'button-update', > 'title' => 'Update button state', > 'type' => 4, > 'unit' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'Button 1', > 'index' => 17, > 'max_values' => 1, > 'name' => 'button-1', > 'title' => 'Button 1', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'Button 2', > 'index' => 18, > 'max_values' => 1, > 'name' => 'button-2', > 'title' => 'Button 2', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'Type of original to scan', > 'index' => 19, > 'max_values' => 1, > 'name' => 'original', > 'title' => 'Type of original to scan', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'Target operation type', > 'index' => 20, > 'max_values' => 1, > 'name' => 'target', > 'title' => 'Target operation type', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'Scan resolution', > 'index' => 21, > 'max_values' => 1, > 'name' => 'scan-resolution', > 'title' => 'Scan resolution', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'Document type', > 'index' => 22, > 'max_values' => 1, > 'name' => 'document-type', > 'title' => 'Document type', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'ADF status', > 'index' => 23, > 'max_values' => 1, > 'name' => 'adf-status', > 'title' => 'ADF status', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'ADF orientation', > 'index' => 24, > 'max_values' => 1, > 'name' => 'adf-orientation', > 'title' => 'ADF orientation', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => 'Extras', > 'index' => 25, > 'max_values' => 0, > 'title' => 'Extras', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 53, > 'constraint' => { > 'max' => 100, > 'min' => 0, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Select minimum-brightness to get a white point', > 'index' => 26, > 'max_values' => 1, > 'name' => 'threshold', > 'title' => 'Threshold', > 'type' => 1, > 'unit' => 5 > }, > { > 'cap' => 53, > 'constraint' => { > 'max' => 127, > 'min' => 0, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Dynamic threshold curve, from light to dark, normally 50-65', > 'index' => 27, > 'max_values' => 1, > 'name' => 'threshold-curve', > 'title' => 'Threshold curve', > 'type' => 1, > 'unit' => 0 > }, > { > 'cap' => 53, > 'constraint' => { > 'max' => 3600, > 'min' => 0, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'When set, the scanner waits upto the specified time in seconds for a new document inserted into the automatic document feeder.', > 'index' => 28, > 'max_values' => 1, > 'name' => 'adf-wait', > 'title' => 'ADF Waiting Time', > 'type' => 1, > 'unit' => 0 > } > ], > 'geometry' => { > 'l' => 0, > 't' => 0, > 'x' => '216.069320678711', > 'y' => '297.010665893555' > }, > 'hash' => { > 'adf-orientation' => $VAR1->{'array'}[24], > 'adf-status' => $VAR1->{'array'}[23], > 'adf-wait' => $VAR1->{'array'}[28], > 'br-x' => $VAR1->{'array'}[13], > 'br-y' => $VAR1->{'array'}[14], > 'button-1' => $VAR1->{'array'}[17], > 'button-2' => $VAR1->{'array'}[18], > 'button-controlled' => $VAR1->{'array'}[5], > 'button-update' => $VAR1->{'array'}[16], > 'custom-gamma' => $VAR1->{'array'}[7], > 'document-type' => $VAR1->{'array'}[22], > 'gamma' => $VAR1->{'array'}[9], > 'gamma-table' => $VAR1->{'array'}[8], > 'mode' => $VAR1->{'array'}[3], > 'original' => $VAR1->{'array'}[19], > 'resolution' => $VAR1->{'array'}[2], > 'scan-resolution' => $VAR1->{'array'}[21], > 'source' => $VAR1->{'array'}[4], > 'target' => $VAR1->{'array'}[20], > 'threshold' => $VAR1->{'array'}[26], > 'threshold-curve' => $VAR1->{'array'}[27], > 'tl-x' => $VAR1->{'array'}[11], > 'tl-y' => $VAR1->{'array'}[12] > }, > 'source' => $VAR1->{'array'}[4] > }, 'Gscan2pdf::Scanner::Options' ); > >DEBUG - signal 'finished-process' emitted with data: find_scan_options >DEBUG - Started setting available_scan_options from $VAR1 = bless( { > 'array' => [ > { > 'index' => 0 > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => '', > 'index' => 1, > 'max_values' => 1, > 'title' => 'Scan Mode', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 5, > 'constraint' => [ > 'Gray', > 'Color' > ], > 'constraint_type' => 3, > 'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', > 'index' => 2, > 'max_values' => 1, > 'name' => 'mode', > 'title' => 'Scan mode', > 'type' => 3, > 'unit' => 0, > 'val' => 'Gray' > }, > { > 'cap' => 37, > 'constraint' => [ > 'Camera 1' > ], > 'constraint_type' => 3, > 'desc' => 'Selects the channel of the v4l device (e.g. television or video-in.', > 'index' => 3, > 'max_values' => 1, > 'name' => 'channel', > 'title' => 'Channel', > 'type' => 3, > 'unit' => 0 > }, > { > 'cap' => 64, > 'constraint_type' => 0, > 'desc' => '', > 'index' => 4, > 'max_values' => 1, > 'title' => 'Geometry', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 37, > 'constraint' => { > 'max' => 607, > 'min' => 0, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Top-left x position of scan area.', > 'index' => 5, > 'max_values' => 1, > 'name' => 'tl-x', > 'title' => 'Top-left x', > 'type' => 1, > 'unit' => 1 > }, > { > 'cap' => 37, > 'constraint' => { > 'max' => 421, > 'min' => 0, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Top-left y position of scan area.', > 'index' => 6, > 'max_values' => 1, > 'name' => 'tl-y', > 'title' => 'Top-left y', > 'type' => 1, > 'unit' => 1 > }, > { > 'cap' => 37, > 'constraint' => { > 'max' => 767, > 'min' => 160, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Bottom-right x position of scan area.', > 'index' => 7, > 'max_values' => 1, > 'name' => 'br-x', > 'title' => 'Bottom-right x', > 'type' => 1, > 'unit' => 1 > }, > { > 'cap' => 37, > 'constraint' => { > 'max' => 511, > 'min' => 90, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Bottom-right y position of scan area.', > 'index' => 8, > 'max_values' => 1, > 'name' => 'br-y', > 'title' => 'Bottom-right y', > 'type' => 1, > 'unit' => 1 > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => '', > 'index' => 9, > 'max_values' => 1, > 'title' => 'Enhancement', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Controls the brightness of the acquired image.', > 'index' => 10, > 'max_values' => 1, > 'name' => 'brightness', > 'title' => 'Brightness', > 'type' => 1, > 'unit' => 0, > 'val' => 128 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Controls the "hue" (blue-level) of the acquired image.', > 'index' => 11, > 'max_values' => 1, > 'name' => 'hue', > 'title' => 'Hue', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Sets the picture\'s color.', > 'index' => 12, > 'max_values' => 1, > 'name' => 'color', > 'title' => 'Picture color', > 'type' => 1, > 'unit' => 0, > 'val' => 128 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Controls the contrast of the acquired image.', > 'index' => 13, > 'max_values' => 1, > 'name' => 'contrast', > 'title' => 'Contrast', > 'type' => 1, > 'unit' => 0, > 'val' => 128 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Selects what radiance level should be considered "white".', > 'index' => 14, > 'max_values' => 1, > 'name' => 'white-level', > 'title' => 'White level', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > } > ], > 'geometry' => { > 'l' => 0, > 't' => 0, > 'x' => 767, > 'y' => 511 > }, > 'hash' => { > 'br-x' => $VAR1->{'array'}[7], > 'br-y' => $VAR1->{'array'}[8], > 'brightness' => $VAR1->{'array'}[10], > 'channel' => $VAR1->{'array'}[3], > 'color' => $VAR1->{'array'}[12], > 'contrast' => $VAR1->{'array'}[13], > 'hue' => $VAR1->{'array'}[11], > 'mode' => $VAR1->{'array'}[2], > 'tl-x' => $VAR1->{'array'}[5], > 'tl-y' => $VAR1->{'array'}[6], > 'white-level' => $VAR1->{'array'}[14] > }, > 'source' => { > 'constraint' => [] > } > }, 'Gscan2pdf::Scanner::Options' ); > to $VAR1 = bless( { > 'array' => [ > { > 'index' => 0 > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => 'Scan mode', > 'index' => 1, > 'max_values' => 0, > 'title' => 'Scan mode', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 21, > 'constraint' => [ > 75, > 150, > 300, > 600, > 1200, > 2400 > ], > 'constraint_type' => 2, > 'desc' => 'Sets the resolution of the scanned image.', > 'index' => 2, > 'max_values' => 1, > 'name' => 'resolution', > 'title' => 'Scan resolution', > 'type' => 1, > 'unit' => 4, > 'val' => 75 > }, > { > 'cap' => 21, > 'constraint' => [ > 'Color', > 'Gray', > 'Lineart' > ], > 'constraint_type' => 3, > 'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', > 'index' => 3, > 'max_values' => 1, > 'name' => 'mode', > 'title' => 'Scan mode', > 'type' => 3, > 'unit' => 0, > 'val' => 'Color' > }, > { > 'cap' => 5, > 'constraint' => [ > 'Flatbed' > ], > 'constraint_type' => 3, > 'desc' => 'Selects the scan source (such as a document-feeder). Set source before mode and resolution. Resets mode and resolution to auto values.', > 'index' => 4, > 'max_values' => 1, > 'name' => 'source', > 'title' => 'Scan source', > 'type' => 3, > 'unit' => 0, > 'val' => 'Flatbed' > }, > { > 'cap' => 5, > 'constraint_type' => 0, > 'desc' => 'When enabled, scan process will not start immediately. To proceed, press "SCAN" button (for MP150) or "COLOR" button (for other models). To cancel, press "GRAY" button.', > 'index' => 5, > 'max_values' => 1, > 'name' => 'button-controlled', > 'title' => 'Button-controlled scan', > 'type' => 0, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => 'Gamma', > 'index' => 6, > 'max_values' => 0, > 'title' => 'Gamma', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 21, > 'constraint_type' => 0, > 'desc' => 'Determines whether a builtin or a custom gamma-table should be used.', > 'index' => 7, > 'max_values' => 1, > 'name' => 'custom-gamma', > 'title' => 'Use custom gamma table', > 'type' => 0, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 53, > 'constraint' => { > 'max' => 65535, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Gamma-correction table with 1024 entries. In color mode this option equally affects the red, green, and blue channels simultaneously (i.e., it is an intensity gamma table).', > 'index' => 8, > 'max_values' => 1024, > 'name' => 'gamma-table', > 'title' => 'Image intensity', > 'type' => 1, > 'unit' => 0 > }, > { > 'cap' => 21, > 'constraint' => { > 'max' => 5, > 'min' => '0.29998779296875', > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Changes intensity of midtones', > 'index' => 9, > 'max_values' => 1, > 'name' => 'gamma', > 'title' => 'Gamma function exponent', > 'type' => 2, > 'unit' => 0, > 'val' => '2.19999694824219' > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => 'Geometry', > 'index' => 10, > 'max_values' => 0, > 'title' => 'Geometry', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 21, > 'constraint' => { > 'max' => '216.069320678711', > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Top-left x position of scan area.', > 'index' => 11, > 'max_values' => 1, > 'name' => 'tl-x', > 'title' => 'Top-left x', > 'type' => 2, > 'unit' => 3, > 'val' => 0 > }, > { > 'cap' => 21, > 'constraint' => { > 'max' => '297.010665893555', > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Top-left y position of scan area.', > 'index' => 12, > 'max_values' => 1, > 'name' => 'tl-y', > 'title' => 'Top-left y', > 'type' => 2, > 'unit' => 3, > 'val' => 0 > }, > { > 'cap' => 21, > 'constraint' => { > 'max' => '216.069320678711', > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Bottom-right x position of scan area.', > 'index' => 13, > 'max_values' => 1, > 'name' => 'br-x', > 'title' => 'Bottom-right x', > 'type' => 2, > 'unit' => 3, > 'val' => '216.069320678711' > }, > { > 'cap' => 21, > 'constraint' => { > 'max' => '297.010665893555', > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Bottom-right y position of scan area.', > 'index' => 14, > 'max_values' => 1, > 'name' => 'br-y', > 'title' => 'Bottom-right y', > 'type' => 2, > 'unit' => 3, > 'val' => '297.010665893555' > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => 'Buttons', > 'index' => 15, > 'max_values' => 0, > 'title' => 'Buttons', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 69, > 'constraint_type' => 0, > 'desc' => 'Update button state', > 'index' => 16, > 'max_values' => 0, > 'name' => 'button-update', > 'title' => 'Update button state', > 'type' => 4, > 'unit' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'Button 1', > 'index' => 17, > 'max_values' => 1, > 'name' => 'button-1', > 'title' => 'Button 1', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'Button 2', > 'index' => 18, > 'max_values' => 1, > 'name' => 'button-2', > 'title' => 'Button 2', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'Type of original to scan', > 'index' => 19, > 'max_values' => 1, > 'name' => 'original', > 'title' => 'Type of original to scan', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'Target operation type', > 'index' => 20, > 'max_values' => 1, > 'name' => 'target', > 'title' => 'Target operation type', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'Scan resolution', > 'index' => 21, > 'max_values' => 1, > 'name' => 'scan-resolution', > 'title' => 'Scan resolution', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'Document type', > 'index' => 22, > 'max_values' => 1, > 'name' => 'document-type', > 'title' => 'Document type', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'ADF status', > 'index' => 23, > 'max_values' => 1, > 'name' => 'adf-status', > 'title' => 'ADF status', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'ADF orientation', > 'index' => 24, > 'max_values' => 1, > 'name' => 'adf-orientation', > 'title' => 'ADF orientation', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => 'Extras', > 'index' => 25, > 'max_values' => 0, > 'title' => 'Extras', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 53, > 'constraint' => { > 'max' => 100, > 'min' => 0, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Select minimum-brightness to get a white point', > 'index' => 26, > 'max_values' => 1, > 'name' => 'threshold', > 'title' => 'Threshold', > 'type' => 1, > 'unit' => 5 > }, > { > 'cap' => 53, > 'constraint' => { > 'max' => 127, > 'min' => 0, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Dynamic threshold curve, from light to dark, normally 50-65', > 'index' => 27, > 'max_values' => 1, > 'name' => 'threshold-curve', > 'title' => 'Threshold curve', > 'type' => 1, > 'unit' => 0 > }, > { > 'cap' => 53, > 'constraint' => { > 'max' => 3600, > 'min' => 0, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'When set, the scanner waits upto the specified time in seconds for a new document inserted into the automatic document feeder.', > 'index' => 28, > 'max_values' => 1, > 'name' => 'adf-wait', > 'title' => 'ADF Waiting Time', > 'type' => 1, > 'unit' => 0 > } > ], > 'geometry' => { > 'l' => 0, > 't' => 0, > 'x' => '216.069320678711', > 'y' => '297.010665893555' > }, > 'hash' => { > 'adf-orientation' => $VAR1->{'array'}[24], > 'adf-status' => $VAR1->{'array'}[23], > 'adf-wait' => $VAR1->{'array'}[28], > 'br-x' => $VAR1->{'array'}[13], > 'br-y' => $VAR1->{'array'}[14], > 'button-1' => $VAR1->{'array'}[17], > 'button-2' => $VAR1->{'array'}[18], > 'button-controlled' => $VAR1->{'array'}[5], > 'button-update' => $VAR1->{'array'}[16], > 'custom-gamma' => $VAR1->{'array'}[7], > 'document-type' => $VAR1->{'array'}[22], > 'gamma' => $VAR1->{'array'}[9], > 'gamma-table' => $VAR1->{'array'}[8], > 'mode' => $VAR1->{'array'}[3], > 'original' => $VAR1->{'array'}[19], > 'resolution' => $VAR1->{'array'}[2], > 'scan-resolution' => $VAR1->{'array'}[21], > 'source' => $VAR1->{'array'}[4], > 'target' => $VAR1->{'array'}[20], > 'threshold' => $VAR1->{'array'}[26], > 'threshold-curve' => $VAR1->{'array'}[27], > 'tl-x' => $VAR1->{'array'}[11], > 'tl-y' => $VAR1->{'array'}[12] > }, > 'source' => $VAR1->{'array'}[4] > }, 'Gscan2pdf::Scanner::Options' ); > >DEBUG - Finished setting available_scan_options from $VAR1 = bless( { > 'array' => [ > { > 'index' => 0 > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => '', > 'index' => 1, > 'max_values' => 1, > 'title' => 'Scan Mode', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 5, > 'constraint' => [ > 'Gray', > 'Color' > ], > 'constraint_type' => 3, > 'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', > 'index' => 2, > 'max_values' => 1, > 'name' => 'mode', > 'title' => 'Scan mode', > 'type' => 3, > 'unit' => 0, > 'val' => 'Gray' > }, > { > 'cap' => 37, > 'constraint' => [ > 'Camera 1' > ], > 'constraint_type' => 3, > 'desc' => 'Selects the channel of the v4l device (e.g. television or video-in.', > 'index' => 3, > 'max_values' => 1, > 'name' => 'channel', > 'title' => 'Channel', > 'type' => 3, > 'unit' => 0 > }, > { > 'cap' => 64, > 'constraint_type' => 0, > 'desc' => '', > 'index' => 4, > 'max_values' => 1, > 'title' => 'Geometry', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 37, > 'constraint' => { > 'max' => 607, > 'min' => 0, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Top-left x position of scan area.', > 'index' => 5, > 'max_values' => 1, > 'name' => 'tl-x', > 'title' => 'Top-left x', > 'type' => 1, > 'unit' => 1 > }, > { > 'cap' => 37, > 'constraint' => { > 'max' => 421, > 'min' => 0, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Top-left y position of scan area.', > 'index' => 6, > 'max_values' => 1, > 'name' => 'tl-y', > 'title' => 'Top-left y', > 'type' => 1, > 'unit' => 1 > }, > { > 'cap' => 37, > 'constraint' => { > 'max' => 767, > 'min' => 160, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Bottom-right x position of scan area.', > 'index' => 7, > 'max_values' => 1, > 'name' => 'br-x', > 'title' => 'Bottom-right x', > 'type' => 1, > 'unit' => 1 > }, > { > 'cap' => 37, > 'constraint' => { > 'max' => 511, > 'min' => 90, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Bottom-right y position of scan area.', > 'index' => 8, > 'max_values' => 1, > 'name' => 'br-y', > 'title' => 'Bottom-right y', > 'type' => 1, > 'unit' => 1 > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => '', > 'index' => 9, > 'max_values' => 1, > 'title' => 'Enhancement', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Controls the brightness of the acquired image.', > 'index' => 10, > 'max_values' => 1, > 'name' => 'brightness', > 'title' => 'Brightness', > 'type' => 1, > 'unit' => 0, > 'val' => 128 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Controls the "hue" (blue-level) of the acquired image.', > 'index' => 11, > 'max_values' => 1, > 'name' => 'hue', > 'title' => 'Hue', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Sets the picture\'s color.', > 'index' => 12, > 'max_values' => 1, > 'name' => 'color', > 'title' => 'Picture color', > 'type' => 1, > 'unit' => 0, > 'val' => 128 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Controls the contrast of the acquired image.', > 'index' => 13, > 'max_values' => 1, > 'name' => 'contrast', > 'title' => 'Contrast', > 'type' => 1, > 'unit' => 0, > 'val' => 128 > }, > { > 'cap' => 5, > 'constraint' => { > 'max' => 255, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Selects what radiance level should be considered "white".', > 'index' => 14, > 'max_values' => 1, > 'name' => 'white-level', > 'title' => 'White level', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > } > ], > 'geometry' => { > 'l' => 0, > 't' => 0, > 'x' => 767, > 'y' => 511 > }, > 'hash' => { > 'br-x' => $VAR1->{'array'}[7], > 'br-y' => $VAR1->{'array'}[8], > 'brightness' => $VAR1->{'array'}[10], > 'channel' => $VAR1->{'array'}[3], > 'color' => $VAR1->{'array'}[12], > 'contrast' => $VAR1->{'array'}[13], > 'hue' => $VAR1->{'array'}[11], > 'mode' => $VAR1->{'array'}[2], > 'tl-x' => $VAR1->{'array'}[5], > 'tl-y' => $VAR1->{'array'}[6], > 'white-level' => $VAR1->{'array'}[14] > }, > 'source' => { > 'constraint' => [] > } > }, 'Gscan2pdf::Scanner::Options' ); > to $VAR1 = bless( { > 'array' => [ > { > 'index' => 0 > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => 'Scan mode', > 'index' => 1, > 'max_values' => 0, > 'title' => 'Scan mode', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 21, > 'constraint' => [ > 75, > 150, > 300, > 600, > 1200, > 2400 > ], > 'constraint_type' => 2, > 'desc' => 'Sets the resolution of the scanned image.', > 'index' => 2, > 'max_values' => 1, > 'name' => 'resolution', > 'title' => 'Scan resolution', > 'type' => 1, > 'unit' => 4, > 'val' => 75 > }, > { > 'cap' => 21, > 'constraint' => [ > 'Color', > 'Gray', > 'Lineart' > ], > 'constraint_type' => 3, > 'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', > 'index' => 3, > 'max_values' => 1, > 'name' => 'mode', > 'title' => 'Scan mode', > 'type' => 3, > 'unit' => 0, > 'val' => 'Color' > }, > { > 'cap' => 5, > 'constraint' => [ > 'Flatbed' > ], > 'constraint_type' => 3, > 'desc' => 'Selects the scan source (such as a document-feeder). Set source before mode and resolution. Resets mode and resolution to auto values.', > 'index' => 4, > 'max_values' => 1, > 'name' => 'source', > 'title' => 'Scan source', > 'type' => 3, > 'unit' => 0, > 'val' => 'Flatbed' > }, > { > 'cap' => 5, > 'constraint_type' => 0, > 'desc' => 'When enabled, scan process will not start immediately. To proceed, press "SCAN" button (for MP150) or "COLOR" button (for other models). To cancel, press "GRAY" button.', > 'index' => 5, > 'max_values' => 1, > 'name' => 'button-controlled', > 'title' => 'Button-controlled scan', > 'type' => 0, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => 'Gamma', > 'index' => 6, > 'max_values' => 0, > 'title' => 'Gamma', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 21, > 'constraint_type' => 0, > 'desc' => 'Determines whether a builtin or a custom gamma-table should be used.', > 'index' => 7, > 'max_values' => 1, > 'name' => 'custom-gamma', > 'title' => 'Use custom gamma table', > 'type' => 0, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 53, > 'constraint' => { > 'max' => 65535, > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Gamma-correction table with 1024 entries. In color mode this option equally affects the red, green, and blue channels simultaneously (i.e., it is an intensity gamma table).', > 'index' => 8, > 'max_values' => 1024, > 'name' => 'gamma-table', > 'title' => 'Image intensity', > 'type' => 1, > 'unit' => 0 > }, > { > 'cap' => 21, > 'constraint' => { > 'max' => 5, > 'min' => '0.29998779296875', > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Changes intensity of midtones', > 'index' => 9, > 'max_values' => 1, > 'name' => 'gamma', > 'title' => 'Gamma function exponent', > 'type' => 2, > 'unit' => 0, > 'val' => '2.19999694824219' > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => 'Geometry', > 'index' => 10, > 'max_values' => 0, > 'title' => 'Geometry', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 21, > 'constraint' => { > 'max' => '216.069320678711', > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Top-left x position of scan area.', > 'index' => 11, > 'max_values' => 1, > 'name' => 'tl-x', > 'title' => 'Top-left x', > 'type' => 2, > 'unit' => 3, > 'val' => 0 > }, > { > 'cap' => 21, > 'constraint' => { > 'max' => '297.010665893555', > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Top-left y position of scan area.', > 'index' => 12, > 'max_values' => 1, > 'name' => 'tl-y', > 'title' => 'Top-left y', > 'type' => 2, > 'unit' => 3, > 'val' => 0 > }, > { > 'cap' => 21, > 'constraint' => { > 'max' => '216.069320678711', > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Bottom-right x position of scan area.', > 'index' => 13, > 'max_values' => 1, > 'name' => 'br-x', > 'title' => 'Bottom-right x', > 'type' => 2, > 'unit' => 3, > 'val' => '216.069320678711' > }, > { > 'cap' => 21, > 'constraint' => { > 'max' => '297.010665893555', > 'min' => 0, > 'quant' => 0 > }, > 'constraint_type' => 1, > 'desc' => 'Bottom-right y position of scan area.', > 'index' => 14, > 'max_values' => 1, > 'name' => 'br-y', > 'title' => 'Bottom-right y', > 'type' => 2, > 'unit' => 3, > 'val' => '297.010665893555' > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => 'Buttons', > 'index' => 15, > 'max_values' => 0, > 'title' => 'Buttons', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 69, > 'constraint_type' => 0, > 'desc' => 'Update button state', > 'index' => 16, > 'max_values' => 0, > 'name' => 'button-update', > 'title' => 'Update button state', > 'type' => 4, > 'unit' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'Button 1', > 'index' => 17, > 'max_values' => 1, > 'name' => 'button-1', > 'title' => 'Button 1', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'Button 2', > 'index' => 18, > 'max_values' => 1, > 'name' => 'button-2', > 'title' => 'Button 2', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'Type of original to scan', > 'index' => 19, > 'max_values' => 1, > 'name' => 'original', > 'title' => 'Type of original to scan', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'Target operation type', > 'index' => 20, > 'max_values' => 1, > 'name' => 'target', > 'title' => 'Target operation type', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'Scan resolution', > 'index' => 21, > 'max_values' => 1, > 'name' => 'scan-resolution', > 'title' => 'Scan resolution', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'Document type', > 'index' => 22, > 'max_values' => 1, > 'name' => 'document-type', > 'title' => 'Document type', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'ADF status', > 'index' => 23, > 'max_values' => 1, > 'name' => 'adf-status', > 'title' => 'ADF status', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 68, > 'constraint_type' => 0, > 'desc' => 'ADF orientation', > 'index' => 24, > 'max_values' => 1, > 'name' => 'adf-orientation', > 'title' => 'ADF orientation', > 'type' => 1, > 'unit' => 0, > 'val' => 0 > }, > { > 'cap' => 0, > 'constraint_type' => 0, > 'desc' => 'Extras', > 'index' => 25, > 'max_values' => 0, > 'title' => 'Extras', > 'type' => 5, > 'unit' => 0 > }, > { > 'cap' => 53, > 'constraint' => { > 'max' => 100, > 'min' => 0, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Select minimum-brightness to get a white point', > 'index' => 26, > 'max_values' => 1, > 'name' => 'threshold', > 'title' => 'Threshold', > 'type' => 1, > 'unit' => 5 > }, > { > 'cap' => 53, > 'constraint' => { > 'max' => 127, > 'min' => 0, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'Dynamic threshold curve, from light to dark, normally 50-65', > 'index' => 27, > 'max_values' => 1, > 'name' => 'threshold-curve', > 'title' => 'Threshold curve', > 'type' => 1, > 'unit' => 0 > }, > { > 'cap' => 53, > 'constraint' => { > 'max' => 3600, > 'min' => 0, > 'quant' => 1 > }, > 'constraint_type' => 1, > 'desc' => 'When set, the scanner waits upto the specified time in seconds for a new document inserted into the automatic document feeder.', > 'index' => 28, > 'max_values' => 1, > 'name' => 'adf-wait', > 'title' => 'ADF Waiting Time', > 'type' => 1, > 'unit' => 0 > } > ], > 'geometry' => { > 'l' => 0, > 't' => 0, > 'x' => '216.069320678711', > 'y' => '297.010665893555' > }, > 'hash' => { > 'adf-orientation' => $VAR1->{'array'}[24], > 'adf-status' => $VAR1->{'array'}[23], > 'adf-wait' => $VAR1->{'array'}[28], > 'br-x' => $VAR1->{'array'}[13], > 'br-y' => $VAR1->{'array'}[14], > 'button-1' => $VAR1->{'array'}[17], > 'button-2' => $VAR1->{'array'}[18], > 'button-controlled' => $VAR1->{'array'}[5], > 'button-update' => $VAR1->{'array'}[16], > 'custom-gamma' => $VAR1->{'array'}[7], > 'document-type' => $VAR1->{'array'}[22], > 'gamma' => $VAR1->{'array'}[9], > 'gamma-table' => $VAR1->{'array'}[8], > 'mode' => $VAR1->{'array'}[3], > 'original' => $VAR1->{'array'}[19], > 'resolution' => $VAR1->{'array'}[2], > 'scan-resolution' => $VAR1->{'array'}[21], > 'source' => $VAR1->{'array'}[4], > 'target' => $VAR1->{'array'}[20], > 'threshold' => $VAR1->{'array'}[26], > 'threshold-curve' => $VAR1->{'array'}[27], > 'tl-x' => $VAR1->{'array'}[11], > 'tl-y' => $VAR1->{'array'}[12] > }, > 'source' => $VAR1->{'array'}[4] > }, 'Gscan2pdf::Scanner::Options' ); > >DEBUG - Options support paper size 'A4'. >DEBUG - Options support paper size 'Lettre US'. >DEBUG - Options do not support paper size 'Légal US'. >DEBUG - Options do not support paper size 'A3'. >DEBUG - Started setting cursor from wait to default >DEBUG - Finished setting cursor from wait to default >INFO - sane_set_option 2 (resolution) to 300 returned status 0 (Success) with info 4 (SANE_INFO_RELOAD_PARAMS) >DEBUG - signal 'started-process' emitted with message: Setting option resolution >DEBUG - signal 'finished-process' emitted with data: set_option resolution to 300 >DEBUG - Setting widget 'resolution' to '300'. >INFO - rotate facing 0 >INFO - rotate reverse 0 >INFO - unpaper >INFO - UDT >INFO - Current UDT gimp %i >INFO - OCR >DEBUG - Started setting cursor from default to progress >DEBUG - Finished setting cursor from default to progress >INFO - gscan2pdf: scanning image of size 2552x3508 pixels at 24 bits/pixel >INFO - gscan2pdf: acquiring RGB frame >INFO - Scanning 1 pages from 1 with step 1 >DEBUG - signal 'started-process' emitted with message: Numérisation de la page 1 sur 1 >INFO - gscan2pdf: sane_read: End of file reached >INFO - gscan2pdf: min/max graylevel value = 255/0 >INFO - gscan2pdf: read 26857248 bytes in total >INFO - Scanned page /tmp/gscan2pdf-Gs6H/2jKPMPlzjm.pnm. (scanner status = 5) >DEBUG - $VAR1 = []; > >DEBUG - Free space in /tmp/gscan2pdf-Gs6H (Mb): 7954.35546875 (warning at 10) >INFO - Importing scan with resolution=300,300 >DEBUG - signal 'finished-process' emitted with data: scan_pages >DEBUG - Started setting cursor from progress to default >DEBUG - Finished setting cursor from progress to default >INFO - Header suggests 26857285 >INFO - Expecting 26857285, found 26857285 >INFO - New page filename /tmp/gscan2pdf-Gs6H/2jKPMPlzjm.pnm, format Portable anymap >INFO - New page written as /tmp/gscan2pdf-Gs6H/l_87BBcWda.pnm (8CAC8722-E60D-11EB-8FF1-F24B42F48204) >DEBUG - Started setting page_number_start from 1 to 2 >DEBUG - Started setting max_pages from 0 to -1 >DEBUG - Finished setting max_pages from 0 to -1 >DEBUG - Finished setting page_number_start from 1 to 2 >INFO - Added /tmp/gscan2pdf-Gs6H/l_87BBcWda.pnm (8CAC8722-E60D-11EB-8FF1-F24B42F48204) at page 1 with resolution 300,300 >INFO - New page filename /tmp/gscan2pdf-Gs6H/RnY_3tQCtJ.png, format Portable Network Graphics >INFO - New page written as /tmp/gscan2pdf-Gs6H/eKTiQeWL7X.png (8F5F9806-E60D-11EB-8FF1-F24B42F48204) >INFO - Converted /tmp/gscan2pdf-Gs6H/l_87BBcWda.pnm to /tmp/gscan2pdf-Gs6H/eKTiQeWL7X.png >INFO - Replaced /tmp/gscan2pdf-Gs6H/l_87BBcWda.pnm (8CAC8722-E60D-11EB-8FF1-F24B42F48204) at page 1 with /tmp/gscan2pdf-Gs6H/QrZfW9Laa7.png (8CAC8722-E60D-11EB-8FF1-F24B42F48204), resolution 300,300 >DEBUG - $VAR1 = [ > [ > 1, > bless( {}, 'Gtk3::Gdk::Pixbuf' ), > bless( { > 'dir' => '/tmp/gscan2pdf-Gs6H', > 'filename' => bless( \*{'File::Temp::$fh'}, 'File::Temp' ), > 'format' => 'Portable Network Graphics', > 'height' => 3508, > 'uuid' => '8CAC8722-E60D-11EB-8FF1-F24B42F48204', > 'width' => '2552', > 'xresolution' => 300, > 'yresolution' => 300 > }, 'Gscan2pdf::Page' ) > ] > ]; > >DEBUG - Free space in /tmp/gscan2pdf-Gs6H (Mb): 7924.87890625 (warning at 10) >INFO - Rotating /tmp/gscan2pdf-Gs6H/QrZfW9Laa7.png by 90 degrees >INFO - Replaced /tmp/gscan2pdf-Gs6H/QrZfW9Laa7.png (8CAC8722-E60D-11EB-8FF1-F24B42F48204) at page 1 with /tmp/gscan2pdf-Gs6H/EmkfGzuVif.png (8CAC8722-E60D-11EB-8FF1-F24B42F48204), resolution 300,300 >DEBUG - save filename dialog returned ok >DEBUG - FileChooserDialog returned /home/aurelien/Desktop/2021-07-16.pdf >DEBUG - Started saving /home/aurelien/Desktop/2021-07-16.pdf >INFO - Using /usr/share/fonts/TTF/fonts-ttf-urw/P052-Roman.ttf for non-ASCII text >INFO - Depth of /tmp/gscan2pdf-Gs6H/EmkfGzuVif.png is 8 >INFO - Type of /tmp/gscan2pdf-Gs6H/EmkfGzuVif.png is TrueColor >INFO - Selecting jpg compression >INFO - Converting /tmp/gscan2pdf-Gs6H/EmkfGzuVif.png to /tmp/gscan2pdf-Gs6H/H2AFjWDLct.jpg with quality=75 >INFO - Writing temporary image /tmp/gscan2pdf-Gs6H/H2AFjWDLct.jpg >INFO - Embedding OCR output behind image >INFO - Defining page at 841.92 pt x 612.48 pt >INFO - Added /tmp/gscan2pdf-Gs6H/H2AFjWDLct.jpg at 300 PPI >INFO - Closing PDF >INFO - Opening file:///home/aurelien/Desktop/2021-07-16.pdf via default launcher >DEBUG - Finished saving /home/aurelien/Desktop/2021-07-16.pdf >INFO - Wrote config to /home/aurelien/.config/gscan2pdfrc >INFO - Killing Sane thread(s)
INFO - Starting gscan2pdf 2.11.0 INFO - Called with /usr/bin/gscan2pdf --log=/tmp/gscan2pdf.log INFO - Log level DEBUG INFO - Using fr_FR.UTF-8 locale INFO - Startup LC_NUMERIC C INFO - Reading config from /home/aurelien/.gscan2pdf INFO - Config file version 2 DEBUG - $VAR1 = {}; INFO - Wrote config to /home/aurelien/.config/gscan2pdfrc INFO - Operating system: linux INFO - LSB_VERSION= DISTRIB_ID="Mageia" DISTRIB_RELEASE=8 DISTRIB_CODENAME=mga8 DISTRIB_DESCRIPTION="Mageia 8" INFO - Mageia release 8 (Official) for x86_64 INFO - Mageia release 8 (Official) for x86_64 INFO - Mageia release 8 (Official) for x86_64 INFO - Mageia release 8 (Official) for x86_64 INFO - NAME="Mageia" VERSION="8" ID=mageia VERSION_ID=8 ID_LIKE="mandriva fedora" PRETTY_NAME="Mageia 8" ANSI_COLOR="1;36" HOME_URL="https://www.mageia.org/" SUPPORT_URL="https://www.mageia.org/support/" BUG_REPORT_URL="https://bugs.mageia.org/" PRIVACY_POLICY_URL="https://wiki.mageia.org/en/Privacy_policy" INFO - Mageia release 8 (Official) for x86_64 INFO - Mageia release 8 (Official) for x86_64 INFO - Perl version v5.32.1 INFO - Glib-Perl version 1.3293 INFO - Glib::Object::Introspection version 0.049 INFO - Built for Glib 2.64.3 INFO - Running with Glib 2.66.8 INFO - Gtk3-Perl version 0.037 INFO - Built for GTK 3.24.24 INFO - Running with GTK 3.24.24 INFO - Gtk3::SimpleList version 0.21 INFO - Gscan2pdf::Document version 2.11.0 INFO - Using Gtk3::ImageView version 4 INFO - Using PDF::Builder version 3.021 INFO - Using Sane version 1.0.31 INFO - Using libimage-sane-perl version 5 DEBUG - $VAR1 = { 'Blank threshold' => '0.005', 'Dark threshold' => '0.12', 'OCR on scan' => 1, 'OCR output' => 'replace', 'Page range' => 'all', 'Paper' => { 'A3' => { 'l' => 0, 't' => 0, 'x' => 297, 'y' => 420 }, 'A4' => { 'l' => 0, 't' => 0, 'x' => 210, 'y' => 297 }, 'Lettre US' => { 'l' => 0, 't' => 0, 'x' => 216, 'y' => 279 }, "L\x{e9}gal US" => { 'l' => 0, 't' => 0, 'x' => 216, 'y' => 356 } }, 'SANE version' => '1.0.31', 'TMPDIR' => undef, 'adf-defaults-scan-all-pages' => 1, 'allow-batch-flatbed' => '', 'author' => undef, 'author-suggestions' => undef, 'auto-open-scan-dialog' => 1, 'available-tmp-warning' => 10, 'brightness tool' => 65, 'cache' => undef, 'cache options' => 1, 'cache-device-list' => 1, 'cancel-between-pages' => '', 'close_dialog_on_save' => 1, 'contrast tool' => 65, 'convert whitespace to underscores' => '', 'current_psh' => undef, 'current_udt' => undef, 'cwd' => undef, 'cycle sane handle' => '', 'datetime offset' => [ 0, 0, 0, 0 ], 'default filename' => '%Da %DY-%Dm-%Dd.%De', 'default profile' => undef, 'default-scan-options' => undef, 'device' => undef, 'device blacklist' => undef, 'device list' => [], 'downsample' => '', 'downsample dpi' => 150, 'frontend' => 'libimage-sane-perl', 'ignore-duplex-capabilities' => '', 'image type' => undef, 'keywords' => undef, 'keywords-suggestions' => undef, 'libimage-sane-perl version' => '5', 'message' => {}, 'message_window_height' => 200, 'message_window_width' => 600, 'ocr engine' => 'tesseract', 'ocr language' => undef, 'pdf compression' => 'auto', 'pdf font' => undef, 'post_save_hook' => '', 'profile' => undef, 'ps_backend' => 'pdftops', 'quality' => 75, 'restore window' => 1, 'rotate facing' => 0, 'rotate reverse' => 0, 'scan prefix' => '', 'scan-reload-triggers' => 'mode', 'scan_window_height' => undef, 'scan_window_width' => undef, 'selection' => undef, 'set_timestamp' => 1, 'subject' => undef, 'subject-suggestions' => undef, 'text_position' => 'behind', 'threshold tool' => 80, 'threshold-before-ocr' => '', 'thumb panel' => 100, 'tiff compression' => undef, 'title' => undef, 'title-suggestions' => undef, 'to_png' => 1, 'udt_on_scan' => '', 'unpaper on scan' => '', 'unpaper options' => undef, 'unsharp amount' => 1, 'unsharp radius' => 0, 'unsharp sigma' => 1, 'unsharp threshold' => '0.05', 'use_time' => '', 'use_timezone' => 1, 'user_defined_tools' => [ 'gimp %i' ], 'version' => undef, 'view files toggle' => 1, 'viewer_tools' => 100, 'visible-scan-options' => { 'Paper size' => 1, 'adf-mode' => 1, 'adf_mode' => 1, 'batch-scan' => 1, 'brightness' => 1, 'button-wait' => 1, 'calibration-cache' => 1, 'compression' => 1, 'contrast' => 1, 'gain' => 1, 'l' => 1, 'mode' => 1, 'overscan-bottom' => 1, 'overscan-top' => 1, 'page-height' => 1, 'page-width' => 1, 'pageheight' => 1, 'pagewidth' => 1, 'resolution' => 1, 'source' => 1, 'speed' => 1, 't' => 1, 'threshold' => 1, 'wait-for-button' => 1, 'x' => 1, 'y' => 1 }, 'window_height' => 600, 'window_maximize' => 1, 'window_width' => 800, 'window_x' => undef, 'window_y' => undef }; INFO - scanimage --version INFO - Forked PID 103676 INFO - Checking /tmp for crashed sessions INFO - Using /tmp/gscan2pdf-Gs6H for temporary files INFO - which tesseract INFO - Spawned PID 103704 INFO - which ocroscript INFO - Spawned PID 103705 INFO - which cuneiform INFO - Spawned PID 103706 INFO - unpaper --version INFO - Spawned PID 103707 INFO - Found Image::Magick 7.0.10 INFO - Found unpaper 6.1 INFO - convert --version INFO - Spawned PID 103708 INFO - Found imagemagick 7.0.10-62 INFO - gm -version INFO - Spawned PID 103709 INFO - Found graphicsmagick 1.3.36 INFO - scanadf --version INFO - Spawned PID 103710 INFO - Found scanadf 1.0.14 INFO - xdg-email --version INFO - Spawned PID 103711 INFO - Found xdg 1.1.3 INFO - gocr -h INFO - Spawned PID 103712 INFO - Found gocr 0.52 20181015 INFO - cjb2 --version INFO - Spawned PID 103713 INFO - Found djvu 3.5.28 INFO - tiffcp -h INFO - Spawned PID 103714 INFO - Found libtiff 4.2.0 INFO - pdftops -v INFO - Spawned PID 103715 INFO - Found pdftops 20.12.1 INFO - pdfunite -v INFO - Spawned PID 103716 INFO - Found pdfunite 20.12.1 INFO - gs --version INFO - Spawned PID 103717 INFO - Found pdf2ps 9.53.3 INFO - pdftk --version INFO - pdftk --version: command not found INFO - xz --version INFO - Spawned PID 103719 INFO - Found xz 5.2.5 INFO - fc-list : family style file INFO - Spawned PID 103720 DEBUG - Set logger in Gscan2pdf::Dialog::Scan::Image_Sane DEBUG - Set logger in Gscan2pdf::Dialog::Scan DEBUG - Started setting dir from undef to $VAR1 = bless( { 'CLEANUP' => 1, 'DIRNAME' => '/tmp/gscan2pdf-Gs6H', 'LAUNCHPID' => 102496, 'REALNAME' => '/tmp/gscan2pdf-Gs6H' }, 'File::Temp::Dir' ); DEBUG - Finished setting dir from undef to $VAR1 = bless( { 'CLEANUP' => 1, 'DIRNAME' => '/tmp/gscan2pdf-Gs6H', 'LAUNCHPID' => 102496, 'REALNAME' => '/tmp/gscan2pdf-Gs6H' }, 'File::Temp::Dir' ); DEBUG - Started setting document from undef to $VAR1 = bless( { 'data' => [], 'dir' => bless( { 'CLEANUP' => 1, 'DIRNAME' => '/tmp/gscan2pdf-Gs6H', 'LAUNCHPID' => 102496, 'REALNAME' => '/tmp/gscan2pdf-Gs6H' }, 'File::Temp::Dir' ), 'heightt' => 100, 'row_changed_signal' => 174, 'selection_changed_signal' => 1988, 'widtht' => 100 }, 'Gscan2pdf::Document' ); DEBUG - Finished setting document from undef to $VAR1 = bless( { 'data' => [], 'dir' => bless( { 'CLEANUP' => 1, 'DIRNAME' => '/tmp/gscan2pdf-Gs6H', 'LAUNCHPID' => 102496, 'REALNAME' => '/tmp/gscan2pdf-Gs6H' }, 'File::Temp::Dir' ), 'heightt' => 100, 'row_changed_signal' => 174, 'selection_changed_signal' => 1988, 'widtht' => 100 }, 'Gscan2pdf::Document' ); DEBUG - Started setting paper_formats from undef to $VAR1 = { 'A3' => { 'l' => 0, 't' => 0, 'x' => 297, 'y' => 420 }, 'A4' => { 'l' => 0, 't' => 0, 'x' => 210, 'y' => 297 }, 'Lettre US' => { 'l' => 0, 't' => 0, 'x' => 216, 'y' => 279 }, "L\x{e9}gal US" => { 'l' => 0, 't' => 0, 'x' => 216, 'y' => 356 } }; DEBUG - Finished setting paper_formats from undef to $VAR1 = { 'A3' => { 'l' => 0, 't' => 0, 'x' => 297, 'y' => 420 }, 'A4' => { 'l' => 0, 't' => 0, 'x' => 210, 'y' => 297 }, 'Lettre US' => { 'l' => 0, 't' => 0, 'x' => 216, 'y' => 279 }, "L\x{e9}gal US" => { 'l' => 0, 't' => 0, 'x' => 216, 'y' => 356 } }; DEBUG - Started setting cursor from default to wait DEBUG - Finished setting cursor from default to wait INFO - Waiting to reap process INFO - Reaped PID -1 INFO - Sane->get_devices returned: $VAR1 = [ { 'model' => 'HD Pro Webcam C920', 'name' => 'v4l:/dev/video0', 'type' => 'virtual device', 'vendor' => 'Noname' }, { 'model' => 'Canon PIXMA MG7700 Series', 'name' => 'pixma:MG7700_10A17C000000', 'type' => 'multi-function peripheral', 'vendor' => 'CANON' } ]; DEBUG - Started setting device_list from undef to $VAR1 = [ { 'model' => 'HD Pro Webcam C920', 'name' => 'v4l:/dev/video0', 'type' => 'virtual device', 'vendor' => 'Noname' }, { 'model' => 'Canon PIXMA MG7700 Series', 'name' => 'pixma:MG7700_10A17C000000', 'type' => 'multi-function peripheral', 'vendor' => 'CANON' } ]; INFO - signal 'changed-device-list' emitted with data: $VAR1 = [ { 'label' => 'Noname HD Pro Webcam C920', 'model' => 'HD Pro Webcam C920', 'name' => 'v4l:/dev/video0', 'type' => 'virtual device', 'vendor' => 'Noname' }, { 'label' => 'CANON Canon PIXMA MG7700 Series', 'model' => 'Canon PIXMA MG7700 Series', 'name' => 'pixma:MG7700_10A17C000000', 'type' => 'multi-function peripheral', 'vendor' => 'CANON' } ]; DEBUG - Started setting device from to v4l:/dev/video0 INFO - signal 'changed-device' emitted with data: 'v4l:/dev/video0' DEBUG - Finished setting device from to v4l:/dev/video0 DEBUG - Finished setting device_list from undef to $VAR1 = [ { 'model' => 'HD Pro Webcam C920', 'name' => 'v4l:/dev/video0', 'type' => 'virtual device', 'vendor' => 'Noname' }, { 'model' => 'Canon PIXMA MG7700 Series', 'name' => 'pixma:MG7700_10A17C000000', 'type' => 'multi-function peripheral', 'vendor' => 'CANON' } ]; DEBUG - Started setting cursor from wait to default DEBUG - Finished setting cursor from wait to default DEBUG - opened device 'v4l:/dev/video0' DEBUG - Started setting cursor from default to wait DEBUG - Finished setting cursor from default to wait DEBUG - signal 'started-process' emitted with message: Ouvrir le périphérique DEBUG - signal 'finished-process' emitted with data: open_device DEBUG - Backend reports 15 options DEBUG - signal 'started-process' emitted with message: Retrieving options DEBUG - Sane->get_option_descriptor returned: $VAR1 = bless( { 'array' => [ { 'index' => 0 }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => '', 'index' => 1, 'max_values' => 1, 'title' => 'Scan Mode', 'type' => 5, 'unit' => 0 }, { 'cap' => 5, 'constraint' => [ 'Gray', 'Color' ], 'constraint_type' => 3, 'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', 'index' => 2, 'max_values' => 1, 'name' => 'mode', 'title' => 'Scan mode', 'type' => 3, 'unit' => 0, 'val' => 'Gray' }, { 'cap' => 37, 'constraint' => [ 'Camera 1' ], 'constraint_type' => 3, 'desc' => 'Selects the channel of the v4l device (e.g. television or video-in.', 'index' => 3, 'max_values' => 1, 'name' => 'channel', 'title' => 'Channel', 'type' => 3, 'unit' => 0 }, { 'cap' => 64, 'constraint_type' => 0, 'desc' => '', 'index' => 4, 'max_values' => 1, 'title' => 'Geometry', 'type' => 5, 'unit' => 0 }, { 'cap' => 37, 'constraint' => { 'max' => 607, 'min' => 0, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Top-left x position of scan area.', 'index' => 5, 'max_values' => 1, 'name' => 'tl-x', 'title' => 'Top-left x', 'type' => 1, 'unit' => 1 }, { 'cap' => 37, 'constraint' => { 'max' => 421, 'min' => 0, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Top-left y position of scan area.', 'index' => 6, 'max_values' => 1, 'name' => 'tl-y', 'title' => 'Top-left y', 'type' => 1, 'unit' => 1 }, { 'cap' => 37, 'constraint' => { 'max' => 767, 'min' => 160, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Bottom-right x position of scan area.', 'index' => 7, 'max_values' => 1, 'name' => 'br-x', 'title' => 'Bottom-right x', 'type' => 1, 'unit' => 1 }, { 'cap' => 37, 'constraint' => { 'max' => 511, 'min' => 90, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Bottom-right y position of scan area.', 'index' => 8, 'max_values' => 1, 'name' => 'br-y', 'title' => 'Bottom-right y', 'type' => 1, 'unit' => 1 }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => '', 'index' => 9, 'max_values' => 1, 'title' => 'Enhancement', 'type' => 5, 'unit' => 0 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Controls the brightness of the acquired image.', 'index' => 10, 'max_values' => 1, 'name' => 'brightness', 'title' => 'Brightness', 'type' => 1, 'unit' => 0, 'val' => 128 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Controls the "hue" (blue-level) of the acquired image.', 'index' => 11, 'max_values' => 1, 'name' => 'hue', 'title' => 'Hue', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Sets the picture\'s color.', 'index' => 12, 'max_values' => 1, 'name' => 'color', 'title' => 'Picture color', 'type' => 1, 'unit' => 0, 'val' => 128 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Controls the contrast of the acquired image.', 'index' => 13, 'max_values' => 1, 'name' => 'contrast', 'title' => 'Contrast', 'type' => 1, 'unit' => 0, 'val' => 128 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Selects what radiance level should be considered "white".', 'index' => 14, 'max_values' => 1, 'name' => 'white-level', 'title' => 'White level', 'type' => 1, 'unit' => 0, 'val' => 0 } ], 'geometry' => { 'l' => 0, 't' => 0, 'x' => 767, 'y' => 511 }, 'hash' => { 'br-x' => $VAR1->{'array'}[7], 'br-y' => $VAR1->{'array'}[8], 'brightness' => $VAR1->{'array'}[10], 'channel' => $VAR1->{'array'}[3], 'color' => $VAR1->{'array'}[12], 'contrast' => $VAR1->{'array'}[13], 'hue' => $VAR1->{'array'}[11], 'mode' => $VAR1->{'array'}[2], 'tl-x' => $VAR1->{'array'}[5], 'tl-y' => $VAR1->{'array'}[6], 'white-level' => $VAR1->{'array'}[14] } }, 'Gscan2pdf::Scanner::Options' ); DEBUG - signal 'finished-process' emitted with data: find_scan_options DEBUG - Started setting available_scan_options from undef to $VAR1 = bless( { 'array' => [ { 'index' => 0 }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => '', 'index' => 1, 'max_values' => 1, 'title' => 'Scan Mode', 'type' => 5, 'unit' => 0 }, { 'cap' => 5, 'constraint' => [ 'Gray', 'Color' ], 'constraint_type' => 3, 'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', 'index' => 2, 'max_values' => 1, 'name' => 'mode', 'title' => 'Scan mode', 'type' => 3, 'unit' => 0, 'val' => 'Gray' }, { 'cap' => 37, 'constraint' => [ 'Camera 1' ], 'constraint_type' => 3, 'desc' => 'Selects the channel of the v4l device (e.g. television or video-in.', 'index' => 3, 'max_values' => 1, 'name' => 'channel', 'title' => 'Channel', 'type' => 3, 'unit' => 0 }, { 'cap' => 64, 'constraint_type' => 0, 'desc' => '', 'index' => 4, 'max_values' => 1, 'title' => 'Geometry', 'type' => 5, 'unit' => 0 }, { 'cap' => 37, 'constraint' => { 'max' => 607, 'min' => 0, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Top-left x position of scan area.', 'index' => 5, 'max_values' => 1, 'name' => 'tl-x', 'title' => 'Top-left x', 'type' => 1, 'unit' => 1 }, { 'cap' => 37, 'constraint' => { 'max' => 421, 'min' => 0, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Top-left y position of scan area.', 'index' => 6, 'max_values' => 1, 'name' => 'tl-y', 'title' => 'Top-left y', 'type' => 1, 'unit' => 1 }, { 'cap' => 37, 'constraint' => { 'max' => 767, 'min' => 160, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Bottom-right x position of scan area.', 'index' => 7, 'max_values' => 1, 'name' => 'br-x', 'title' => 'Bottom-right x', 'type' => 1, 'unit' => 1 }, { 'cap' => 37, 'constraint' => { 'max' => 511, 'min' => 90, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Bottom-right y position of scan area.', 'index' => 8, 'max_values' => 1, 'name' => 'br-y', 'title' => 'Bottom-right y', 'type' => 1, 'unit' => 1 }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => '', 'index' => 9, 'max_values' => 1, 'title' => 'Enhancement', 'type' => 5, 'unit' => 0 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Controls the brightness of the acquired image.', 'index' => 10, 'max_values' => 1, 'name' => 'brightness', 'title' => 'Brightness', 'type' => 1, 'unit' => 0, 'val' => 128 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Controls the "hue" (blue-level) of the acquired image.', 'index' => 11, 'max_values' => 1, 'name' => 'hue', 'title' => 'Hue', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Sets the picture\'s color.', 'index' => 12, 'max_values' => 1, 'name' => 'color', 'title' => 'Picture color', 'type' => 1, 'unit' => 0, 'val' => 128 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Controls the contrast of the acquired image.', 'index' => 13, 'max_values' => 1, 'name' => 'contrast', 'title' => 'Contrast', 'type' => 1, 'unit' => 0, 'val' => 128 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Selects what radiance level should be considered "white".', 'index' => 14, 'max_values' => 1, 'name' => 'white-level', 'title' => 'White level', 'type' => 1, 'unit' => 0, 'val' => 0 } ], 'geometry' => { 'l' => 0, 't' => 0, 'x' => 767, 'y' => 511 }, 'hash' => { 'br-x' => $VAR1->{'array'}[7], 'br-y' => $VAR1->{'array'}[8], 'brightness' => $VAR1->{'array'}[10], 'channel' => $VAR1->{'array'}[3], 'color' => $VAR1->{'array'}[12], 'contrast' => $VAR1->{'array'}[13], 'hue' => $VAR1->{'array'}[11], 'mode' => $VAR1->{'array'}[2], 'tl-x' => $VAR1->{'array'}[5], 'tl-y' => $VAR1->{'array'}[6], 'white-level' => $VAR1->{'array'}[14] } }, 'Gscan2pdf::Scanner::Options' ); DEBUG - Finished setting available_scan_options from undef to $VAR1 = bless( { 'array' => [ { 'index' => 0 }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => '', 'index' => 1, 'max_values' => 1, 'title' => 'Scan Mode', 'type' => 5, 'unit' => 0 }, { 'cap' => 5, 'constraint' => [ 'Gray', 'Color' ], 'constraint_type' => 3, 'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', 'index' => 2, 'max_values' => 1, 'name' => 'mode', 'title' => 'Scan mode', 'type' => 3, 'unit' => 0, 'val' => 'Gray' }, { 'cap' => 37, 'constraint' => [ 'Camera 1' ], 'constraint_type' => 3, 'desc' => 'Selects the channel of the v4l device (e.g. television or video-in.', 'index' => 3, 'max_values' => 1, 'name' => 'channel', 'title' => 'Channel', 'type' => 3, 'unit' => 0 }, { 'cap' => 64, 'constraint_type' => 0, 'desc' => '', 'index' => 4, 'max_values' => 1, 'title' => 'Geometry', 'type' => 5, 'unit' => 0 }, { 'cap' => 37, 'constraint' => { 'max' => 607, 'min' => 0, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Top-left x position of scan area.', 'index' => 5, 'max_values' => 1, 'name' => 'tl-x', 'title' => 'Top-left x', 'type' => 1, 'unit' => 1 }, { 'cap' => 37, 'constraint' => { 'max' => 421, 'min' => 0, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Top-left y position of scan area.', 'index' => 6, 'max_values' => 1, 'name' => 'tl-y', 'title' => 'Top-left y', 'type' => 1, 'unit' => 1 }, { 'cap' => 37, 'constraint' => { 'max' => 767, 'min' => 160, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Bottom-right x position of scan area.', 'index' => 7, 'max_values' => 1, 'name' => 'br-x', 'title' => 'Bottom-right x', 'type' => 1, 'unit' => 1 }, { 'cap' => 37, 'constraint' => { 'max' => 511, 'min' => 90, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Bottom-right y position of scan area.', 'index' => 8, 'max_values' => 1, 'name' => 'br-y', 'title' => 'Bottom-right y', 'type' => 1, 'unit' => 1 }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => '', 'index' => 9, 'max_values' => 1, 'title' => 'Enhancement', 'type' => 5, 'unit' => 0 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Controls the brightness of the acquired image.', 'index' => 10, 'max_values' => 1, 'name' => 'brightness', 'title' => 'Brightness', 'type' => 1, 'unit' => 0, 'val' => 128 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Controls the "hue" (blue-level) of the acquired image.', 'index' => 11, 'max_values' => 1, 'name' => 'hue', 'title' => 'Hue', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Sets the picture\'s color.', 'index' => 12, 'max_values' => 1, 'name' => 'color', 'title' => 'Picture color', 'type' => 1, 'unit' => 0, 'val' => 128 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Controls the contrast of the acquired image.', 'index' => 13, 'max_values' => 1, 'name' => 'contrast', 'title' => 'Contrast', 'type' => 1, 'unit' => 0, 'val' => 128 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Selects what radiance level should be considered "white".', 'index' => 14, 'max_values' => 1, 'name' => 'white-level', 'title' => 'White level', 'type' => 1, 'unit' => 0, 'val' => 0 } ], 'geometry' => { 'l' => 0, 't' => 0, 'x' => 767, 'y' => 511 }, 'hash' => { 'br-x' => $VAR1->{'array'}[7], 'br-y' => $VAR1->{'array'}[8], 'brightness' => $VAR1->{'array'}[10], 'channel' => $VAR1->{'array'}[3], 'color' => $VAR1->{'array'}[12], 'contrast' => $VAR1->{'array'}[13], 'hue' => $VAR1->{'array'}[11], 'mode' => $VAR1->{'array'}[2], 'tl-x' => $VAR1->{'array'}[5], 'tl-y' => $VAR1->{'array'}[6], 'white-level' => $VAR1->{'array'}[14] } }, 'Gscan2pdf::Scanner::Options' ); DEBUG - Options support paper size 'A4'. DEBUG - Options support paper size 'Lettre US'. DEBUG - Options support paper size 'Légal US'. DEBUG - Options support paper size 'A3'. DEBUG - Started setting cursor from wait to default DEBUG - Finished setting cursor from wait to default DEBUG - Started setting device from v4l:/dev/video0 to pixma:MG7700_10A17C000000 INFO - signal 'changed-device' emitted with data: 'pixma:MG7700_10A17C000000' DEBUG - Finished setting device from v4l:/dev/video0 to pixma:MG7700_10A17C000000 DEBUG - Started setting cursor from default to wait DEBUG - Finished setting cursor from default to wait DEBUG - signal 'started-process' emitted with message: Ouvrir le périphérique DEBUG - opened device 'pixma:MG7700_10A17C000000' DEBUG - signal 'finished-process' emitted with data: open_device DEBUG - Backend reports 29 options DEBUG - signal 'started-process' emitted with message: Retrieving options DEBUG - Sane->get_option_descriptor returned: $VAR1 = bless( { 'array' => [ { 'index' => 0 }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => 'Scan mode', 'index' => 1, 'max_values' => 0, 'title' => 'Scan mode', 'type' => 5, 'unit' => 0 }, { 'cap' => 21, 'constraint' => [ 75, 150, 300, 600, 1200, 2400 ], 'constraint_type' => 2, 'desc' => 'Sets the resolution of the scanned image.', 'index' => 2, 'max_values' => 1, 'name' => 'resolution', 'title' => 'Scan resolution', 'type' => 1, 'unit' => 4, 'val' => 75 }, { 'cap' => 21, 'constraint' => [ 'Color', 'Gray', 'Lineart' ], 'constraint_type' => 3, 'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', 'index' => 3, 'max_values' => 1, 'name' => 'mode', 'title' => 'Scan mode', 'type' => 3, 'unit' => 0, 'val' => 'Color' }, { 'cap' => 5, 'constraint' => [ 'Flatbed' ], 'constraint_type' => 3, 'desc' => 'Selects the scan source (such as a document-feeder). Set source before mode and resolution. Resets mode and resolution to auto values.', 'index' => 4, 'max_values' => 1, 'name' => 'source', 'title' => 'Scan source', 'type' => 3, 'unit' => 0, 'val' => 'Flatbed' }, { 'cap' => 5, 'constraint_type' => 0, 'desc' => 'When enabled, scan process will not start immediately. To proceed, press "SCAN" button (for MP150) or "COLOR" button (for other models). To cancel, press "GRAY" button.', 'index' => 5, 'max_values' => 1, 'name' => 'button-controlled', 'title' => 'Button-controlled scan', 'type' => 0, 'unit' => 0, 'val' => 0 }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => 'Gamma', 'index' => 6, 'max_values' => 0, 'title' => 'Gamma', 'type' => 5, 'unit' => 0 }, { 'cap' => 21, 'constraint_type' => 0, 'desc' => 'Determines whether a builtin or a custom gamma-table should be used.', 'index' => 7, 'max_values' => 1, 'name' => 'custom-gamma', 'title' => 'Use custom gamma table', 'type' => 0, 'unit' => 0, 'val' => 0 }, { 'cap' => 53, 'constraint' => { 'max' => 65535, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Gamma-correction table with 1024 entries. In color mode this option equally affects the red, green, and blue channels simultaneously (i.e., it is an intensity gamma table).', 'index' => 8, 'max_values' => 1024, 'name' => 'gamma-table', 'title' => 'Image intensity', 'type' => 1, 'unit' => 0 }, { 'cap' => 21, 'constraint' => { 'max' => 5, 'min' => '0.29998779296875', 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Changes intensity of midtones', 'index' => 9, 'max_values' => 1, 'name' => 'gamma', 'title' => 'Gamma function exponent', 'type' => 2, 'unit' => 0, 'val' => '2.19999694824219' }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => 'Geometry', 'index' => 10, 'max_values' => 0, 'title' => 'Geometry', 'type' => 5, 'unit' => 0 }, { 'cap' => 21, 'constraint' => { 'max' => '216.069320678711', 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Top-left x position of scan area.', 'index' => 11, 'max_values' => 1, 'name' => 'tl-x', 'title' => 'Top-left x', 'type' => 2, 'unit' => 3, 'val' => 0 }, { 'cap' => 21, 'constraint' => { 'max' => '297.010665893555', 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Top-left y position of scan area.', 'index' => 12, 'max_values' => 1, 'name' => 'tl-y', 'title' => 'Top-left y', 'type' => 2, 'unit' => 3, 'val' => 0 }, { 'cap' => 21, 'constraint' => { 'max' => '216.069320678711', 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Bottom-right x position of scan area.', 'index' => 13, 'max_values' => 1, 'name' => 'br-x', 'title' => 'Bottom-right x', 'type' => 2, 'unit' => 3, 'val' => '216.069320678711' }, { 'cap' => 21, 'constraint' => { 'max' => '297.010665893555', 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Bottom-right y position of scan area.', 'index' => 14, 'max_values' => 1, 'name' => 'br-y', 'title' => 'Bottom-right y', 'type' => 2, 'unit' => 3, 'val' => '297.010665893555' }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => 'Buttons', 'index' => 15, 'max_values' => 0, 'title' => 'Buttons', 'type' => 5, 'unit' => 0 }, { 'cap' => 69, 'constraint_type' => 0, 'desc' => 'Update button state', 'index' => 16, 'max_values' => 0, 'name' => 'button-update', 'title' => 'Update button state', 'type' => 4, 'unit' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'Button 1', 'index' => 17, 'max_values' => 1, 'name' => 'button-1', 'title' => 'Button 1', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'Button 2', 'index' => 18, 'max_values' => 1, 'name' => 'button-2', 'title' => 'Button 2', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'Type of original to scan', 'index' => 19, 'max_values' => 1, 'name' => 'original', 'title' => 'Type of original to scan', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'Target operation type', 'index' => 20, 'max_values' => 1, 'name' => 'target', 'title' => 'Target operation type', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'Scan resolution', 'index' => 21, 'max_values' => 1, 'name' => 'scan-resolution', 'title' => 'Scan resolution', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'Document type', 'index' => 22, 'max_values' => 1, 'name' => 'document-type', 'title' => 'Document type', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'ADF status', 'index' => 23, 'max_values' => 1, 'name' => 'adf-status', 'title' => 'ADF status', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'ADF orientation', 'index' => 24, 'max_values' => 1, 'name' => 'adf-orientation', 'title' => 'ADF orientation', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => 'Extras', 'index' => 25, 'max_values' => 0, 'title' => 'Extras', 'type' => 5, 'unit' => 0 }, { 'cap' => 53, 'constraint' => { 'max' => 100, 'min' => 0, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Select minimum-brightness to get a white point', 'index' => 26, 'max_values' => 1, 'name' => 'threshold', 'title' => 'Threshold', 'type' => 1, 'unit' => 5 }, { 'cap' => 53, 'constraint' => { 'max' => 127, 'min' => 0, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Dynamic threshold curve, from light to dark, normally 50-65', 'index' => 27, 'max_values' => 1, 'name' => 'threshold-curve', 'title' => 'Threshold curve', 'type' => 1, 'unit' => 0 }, { 'cap' => 53, 'constraint' => { 'max' => 3600, 'min' => 0, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'When set, the scanner waits upto the specified time in seconds for a new document inserted into the automatic document feeder.', 'index' => 28, 'max_values' => 1, 'name' => 'adf-wait', 'title' => 'ADF Waiting Time', 'type' => 1, 'unit' => 0 } ], 'geometry' => { 'l' => 0, 't' => 0, 'x' => '216.069320678711', 'y' => '297.010665893555' }, 'hash' => { 'adf-orientation' => $VAR1->{'array'}[24], 'adf-status' => $VAR1->{'array'}[23], 'adf-wait' => $VAR1->{'array'}[28], 'br-x' => $VAR1->{'array'}[13], 'br-y' => $VAR1->{'array'}[14], 'button-1' => $VAR1->{'array'}[17], 'button-2' => $VAR1->{'array'}[18], 'button-controlled' => $VAR1->{'array'}[5], 'button-update' => $VAR1->{'array'}[16], 'custom-gamma' => $VAR1->{'array'}[7], 'document-type' => $VAR1->{'array'}[22], 'gamma' => $VAR1->{'array'}[9], 'gamma-table' => $VAR1->{'array'}[8], 'mode' => $VAR1->{'array'}[3], 'original' => $VAR1->{'array'}[19], 'resolution' => $VAR1->{'array'}[2], 'scan-resolution' => $VAR1->{'array'}[21], 'source' => $VAR1->{'array'}[4], 'target' => $VAR1->{'array'}[20], 'threshold' => $VAR1->{'array'}[26], 'threshold-curve' => $VAR1->{'array'}[27], 'tl-x' => $VAR1->{'array'}[11], 'tl-y' => $VAR1->{'array'}[12] }, 'source' => $VAR1->{'array'}[4] }, 'Gscan2pdf::Scanner::Options' ); DEBUG - signal 'finished-process' emitted with data: find_scan_options DEBUG - Started setting available_scan_options from $VAR1 = bless( { 'array' => [ { 'index' => 0 }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => '', 'index' => 1, 'max_values' => 1, 'title' => 'Scan Mode', 'type' => 5, 'unit' => 0 }, { 'cap' => 5, 'constraint' => [ 'Gray', 'Color' ], 'constraint_type' => 3, 'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', 'index' => 2, 'max_values' => 1, 'name' => 'mode', 'title' => 'Scan mode', 'type' => 3, 'unit' => 0, 'val' => 'Gray' }, { 'cap' => 37, 'constraint' => [ 'Camera 1' ], 'constraint_type' => 3, 'desc' => 'Selects the channel of the v4l device (e.g. television or video-in.', 'index' => 3, 'max_values' => 1, 'name' => 'channel', 'title' => 'Channel', 'type' => 3, 'unit' => 0 }, { 'cap' => 64, 'constraint_type' => 0, 'desc' => '', 'index' => 4, 'max_values' => 1, 'title' => 'Geometry', 'type' => 5, 'unit' => 0 }, { 'cap' => 37, 'constraint' => { 'max' => 607, 'min' => 0, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Top-left x position of scan area.', 'index' => 5, 'max_values' => 1, 'name' => 'tl-x', 'title' => 'Top-left x', 'type' => 1, 'unit' => 1 }, { 'cap' => 37, 'constraint' => { 'max' => 421, 'min' => 0, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Top-left y position of scan area.', 'index' => 6, 'max_values' => 1, 'name' => 'tl-y', 'title' => 'Top-left y', 'type' => 1, 'unit' => 1 }, { 'cap' => 37, 'constraint' => { 'max' => 767, 'min' => 160, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Bottom-right x position of scan area.', 'index' => 7, 'max_values' => 1, 'name' => 'br-x', 'title' => 'Bottom-right x', 'type' => 1, 'unit' => 1 }, { 'cap' => 37, 'constraint' => { 'max' => 511, 'min' => 90, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Bottom-right y position of scan area.', 'index' => 8, 'max_values' => 1, 'name' => 'br-y', 'title' => 'Bottom-right y', 'type' => 1, 'unit' => 1 }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => '', 'index' => 9, 'max_values' => 1, 'title' => 'Enhancement', 'type' => 5, 'unit' => 0 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Controls the brightness of the acquired image.', 'index' => 10, 'max_values' => 1, 'name' => 'brightness', 'title' => 'Brightness', 'type' => 1, 'unit' => 0, 'val' => 128 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Controls the "hue" (blue-level) of the acquired image.', 'index' => 11, 'max_values' => 1, 'name' => 'hue', 'title' => 'Hue', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Sets the picture\'s color.', 'index' => 12, 'max_values' => 1, 'name' => 'color', 'title' => 'Picture color', 'type' => 1, 'unit' => 0, 'val' => 128 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Controls the contrast of the acquired image.', 'index' => 13, 'max_values' => 1, 'name' => 'contrast', 'title' => 'Contrast', 'type' => 1, 'unit' => 0, 'val' => 128 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Selects what radiance level should be considered "white".', 'index' => 14, 'max_values' => 1, 'name' => 'white-level', 'title' => 'White level', 'type' => 1, 'unit' => 0, 'val' => 0 } ], 'geometry' => { 'l' => 0, 't' => 0, 'x' => 767, 'y' => 511 }, 'hash' => { 'br-x' => $VAR1->{'array'}[7], 'br-y' => $VAR1->{'array'}[8], 'brightness' => $VAR1->{'array'}[10], 'channel' => $VAR1->{'array'}[3], 'color' => $VAR1->{'array'}[12], 'contrast' => $VAR1->{'array'}[13], 'hue' => $VAR1->{'array'}[11], 'mode' => $VAR1->{'array'}[2], 'tl-x' => $VAR1->{'array'}[5], 'tl-y' => $VAR1->{'array'}[6], 'white-level' => $VAR1->{'array'}[14] }, 'source' => { 'constraint' => [] } }, 'Gscan2pdf::Scanner::Options' ); to $VAR1 = bless( { 'array' => [ { 'index' => 0 }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => 'Scan mode', 'index' => 1, 'max_values' => 0, 'title' => 'Scan mode', 'type' => 5, 'unit' => 0 }, { 'cap' => 21, 'constraint' => [ 75, 150, 300, 600, 1200, 2400 ], 'constraint_type' => 2, 'desc' => 'Sets the resolution of the scanned image.', 'index' => 2, 'max_values' => 1, 'name' => 'resolution', 'title' => 'Scan resolution', 'type' => 1, 'unit' => 4, 'val' => 75 }, { 'cap' => 21, 'constraint' => [ 'Color', 'Gray', 'Lineart' ], 'constraint_type' => 3, 'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', 'index' => 3, 'max_values' => 1, 'name' => 'mode', 'title' => 'Scan mode', 'type' => 3, 'unit' => 0, 'val' => 'Color' }, { 'cap' => 5, 'constraint' => [ 'Flatbed' ], 'constraint_type' => 3, 'desc' => 'Selects the scan source (such as a document-feeder). Set source before mode and resolution. Resets mode and resolution to auto values.', 'index' => 4, 'max_values' => 1, 'name' => 'source', 'title' => 'Scan source', 'type' => 3, 'unit' => 0, 'val' => 'Flatbed' }, { 'cap' => 5, 'constraint_type' => 0, 'desc' => 'When enabled, scan process will not start immediately. To proceed, press "SCAN" button (for MP150) or "COLOR" button (for other models). To cancel, press "GRAY" button.', 'index' => 5, 'max_values' => 1, 'name' => 'button-controlled', 'title' => 'Button-controlled scan', 'type' => 0, 'unit' => 0, 'val' => 0 }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => 'Gamma', 'index' => 6, 'max_values' => 0, 'title' => 'Gamma', 'type' => 5, 'unit' => 0 }, { 'cap' => 21, 'constraint_type' => 0, 'desc' => 'Determines whether a builtin or a custom gamma-table should be used.', 'index' => 7, 'max_values' => 1, 'name' => 'custom-gamma', 'title' => 'Use custom gamma table', 'type' => 0, 'unit' => 0, 'val' => 0 }, { 'cap' => 53, 'constraint' => { 'max' => 65535, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Gamma-correction table with 1024 entries. In color mode this option equally affects the red, green, and blue channels simultaneously (i.e., it is an intensity gamma table).', 'index' => 8, 'max_values' => 1024, 'name' => 'gamma-table', 'title' => 'Image intensity', 'type' => 1, 'unit' => 0 }, { 'cap' => 21, 'constraint' => { 'max' => 5, 'min' => '0.29998779296875', 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Changes intensity of midtones', 'index' => 9, 'max_values' => 1, 'name' => 'gamma', 'title' => 'Gamma function exponent', 'type' => 2, 'unit' => 0, 'val' => '2.19999694824219' }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => 'Geometry', 'index' => 10, 'max_values' => 0, 'title' => 'Geometry', 'type' => 5, 'unit' => 0 }, { 'cap' => 21, 'constraint' => { 'max' => '216.069320678711', 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Top-left x position of scan area.', 'index' => 11, 'max_values' => 1, 'name' => 'tl-x', 'title' => 'Top-left x', 'type' => 2, 'unit' => 3, 'val' => 0 }, { 'cap' => 21, 'constraint' => { 'max' => '297.010665893555', 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Top-left y position of scan area.', 'index' => 12, 'max_values' => 1, 'name' => 'tl-y', 'title' => 'Top-left y', 'type' => 2, 'unit' => 3, 'val' => 0 }, { 'cap' => 21, 'constraint' => { 'max' => '216.069320678711', 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Bottom-right x position of scan area.', 'index' => 13, 'max_values' => 1, 'name' => 'br-x', 'title' => 'Bottom-right x', 'type' => 2, 'unit' => 3, 'val' => '216.069320678711' }, { 'cap' => 21, 'constraint' => { 'max' => '297.010665893555', 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Bottom-right y position of scan area.', 'index' => 14, 'max_values' => 1, 'name' => 'br-y', 'title' => 'Bottom-right y', 'type' => 2, 'unit' => 3, 'val' => '297.010665893555' }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => 'Buttons', 'index' => 15, 'max_values' => 0, 'title' => 'Buttons', 'type' => 5, 'unit' => 0 }, { 'cap' => 69, 'constraint_type' => 0, 'desc' => 'Update button state', 'index' => 16, 'max_values' => 0, 'name' => 'button-update', 'title' => 'Update button state', 'type' => 4, 'unit' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'Button 1', 'index' => 17, 'max_values' => 1, 'name' => 'button-1', 'title' => 'Button 1', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'Button 2', 'index' => 18, 'max_values' => 1, 'name' => 'button-2', 'title' => 'Button 2', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'Type of original to scan', 'index' => 19, 'max_values' => 1, 'name' => 'original', 'title' => 'Type of original to scan', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'Target operation type', 'index' => 20, 'max_values' => 1, 'name' => 'target', 'title' => 'Target operation type', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'Scan resolution', 'index' => 21, 'max_values' => 1, 'name' => 'scan-resolution', 'title' => 'Scan resolution', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'Document type', 'index' => 22, 'max_values' => 1, 'name' => 'document-type', 'title' => 'Document type', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'ADF status', 'index' => 23, 'max_values' => 1, 'name' => 'adf-status', 'title' => 'ADF status', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'ADF orientation', 'index' => 24, 'max_values' => 1, 'name' => 'adf-orientation', 'title' => 'ADF orientation', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => 'Extras', 'index' => 25, 'max_values' => 0, 'title' => 'Extras', 'type' => 5, 'unit' => 0 }, { 'cap' => 53, 'constraint' => { 'max' => 100, 'min' => 0, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Select minimum-brightness to get a white point', 'index' => 26, 'max_values' => 1, 'name' => 'threshold', 'title' => 'Threshold', 'type' => 1, 'unit' => 5 }, { 'cap' => 53, 'constraint' => { 'max' => 127, 'min' => 0, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Dynamic threshold curve, from light to dark, normally 50-65', 'index' => 27, 'max_values' => 1, 'name' => 'threshold-curve', 'title' => 'Threshold curve', 'type' => 1, 'unit' => 0 }, { 'cap' => 53, 'constraint' => { 'max' => 3600, 'min' => 0, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'When set, the scanner waits upto the specified time in seconds for a new document inserted into the automatic document feeder.', 'index' => 28, 'max_values' => 1, 'name' => 'adf-wait', 'title' => 'ADF Waiting Time', 'type' => 1, 'unit' => 0 } ], 'geometry' => { 'l' => 0, 't' => 0, 'x' => '216.069320678711', 'y' => '297.010665893555' }, 'hash' => { 'adf-orientation' => $VAR1->{'array'}[24], 'adf-status' => $VAR1->{'array'}[23], 'adf-wait' => $VAR1->{'array'}[28], 'br-x' => $VAR1->{'array'}[13], 'br-y' => $VAR1->{'array'}[14], 'button-1' => $VAR1->{'array'}[17], 'button-2' => $VAR1->{'array'}[18], 'button-controlled' => $VAR1->{'array'}[5], 'button-update' => $VAR1->{'array'}[16], 'custom-gamma' => $VAR1->{'array'}[7], 'document-type' => $VAR1->{'array'}[22], 'gamma' => $VAR1->{'array'}[9], 'gamma-table' => $VAR1->{'array'}[8], 'mode' => $VAR1->{'array'}[3], 'original' => $VAR1->{'array'}[19], 'resolution' => $VAR1->{'array'}[2], 'scan-resolution' => $VAR1->{'array'}[21], 'source' => $VAR1->{'array'}[4], 'target' => $VAR1->{'array'}[20], 'threshold' => $VAR1->{'array'}[26], 'threshold-curve' => $VAR1->{'array'}[27], 'tl-x' => $VAR1->{'array'}[11], 'tl-y' => $VAR1->{'array'}[12] }, 'source' => $VAR1->{'array'}[4] }, 'Gscan2pdf::Scanner::Options' ); DEBUG - Finished setting available_scan_options from $VAR1 = bless( { 'array' => [ { 'index' => 0 }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => '', 'index' => 1, 'max_values' => 1, 'title' => 'Scan Mode', 'type' => 5, 'unit' => 0 }, { 'cap' => 5, 'constraint' => [ 'Gray', 'Color' ], 'constraint_type' => 3, 'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', 'index' => 2, 'max_values' => 1, 'name' => 'mode', 'title' => 'Scan mode', 'type' => 3, 'unit' => 0, 'val' => 'Gray' }, { 'cap' => 37, 'constraint' => [ 'Camera 1' ], 'constraint_type' => 3, 'desc' => 'Selects the channel of the v4l device (e.g. television or video-in.', 'index' => 3, 'max_values' => 1, 'name' => 'channel', 'title' => 'Channel', 'type' => 3, 'unit' => 0 }, { 'cap' => 64, 'constraint_type' => 0, 'desc' => '', 'index' => 4, 'max_values' => 1, 'title' => 'Geometry', 'type' => 5, 'unit' => 0 }, { 'cap' => 37, 'constraint' => { 'max' => 607, 'min' => 0, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Top-left x position of scan area.', 'index' => 5, 'max_values' => 1, 'name' => 'tl-x', 'title' => 'Top-left x', 'type' => 1, 'unit' => 1 }, { 'cap' => 37, 'constraint' => { 'max' => 421, 'min' => 0, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Top-left y position of scan area.', 'index' => 6, 'max_values' => 1, 'name' => 'tl-y', 'title' => 'Top-left y', 'type' => 1, 'unit' => 1 }, { 'cap' => 37, 'constraint' => { 'max' => 767, 'min' => 160, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Bottom-right x position of scan area.', 'index' => 7, 'max_values' => 1, 'name' => 'br-x', 'title' => 'Bottom-right x', 'type' => 1, 'unit' => 1 }, { 'cap' => 37, 'constraint' => { 'max' => 511, 'min' => 90, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Bottom-right y position of scan area.', 'index' => 8, 'max_values' => 1, 'name' => 'br-y', 'title' => 'Bottom-right y', 'type' => 1, 'unit' => 1 }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => '', 'index' => 9, 'max_values' => 1, 'title' => 'Enhancement', 'type' => 5, 'unit' => 0 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Controls the brightness of the acquired image.', 'index' => 10, 'max_values' => 1, 'name' => 'brightness', 'title' => 'Brightness', 'type' => 1, 'unit' => 0, 'val' => 128 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Controls the "hue" (blue-level) of the acquired image.', 'index' => 11, 'max_values' => 1, 'name' => 'hue', 'title' => 'Hue', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Sets the picture\'s color.', 'index' => 12, 'max_values' => 1, 'name' => 'color', 'title' => 'Picture color', 'type' => 1, 'unit' => 0, 'val' => 128 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Controls the contrast of the acquired image.', 'index' => 13, 'max_values' => 1, 'name' => 'contrast', 'title' => 'Contrast', 'type' => 1, 'unit' => 0, 'val' => 128 }, { 'cap' => 5, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Selects what radiance level should be considered "white".', 'index' => 14, 'max_values' => 1, 'name' => 'white-level', 'title' => 'White level', 'type' => 1, 'unit' => 0, 'val' => 0 } ], 'geometry' => { 'l' => 0, 't' => 0, 'x' => 767, 'y' => 511 }, 'hash' => { 'br-x' => $VAR1->{'array'}[7], 'br-y' => $VAR1->{'array'}[8], 'brightness' => $VAR1->{'array'}[10], 'channel' => $VAR1->{'array'}[3], 'color' => $VAR1->{'array'}[12], 'contrast' => $VAR1->{'array'}[13], 'hue' => $VAR1->{'array'}[11], 'mode' => $VAR1->{'array'}[2], 'tl-x' => $VAR1->{'array'}[5], 'tl-y' => $VAR1->{'array'}[6], 'white-level' => $VAR1->{'array'}[14] }, 'source' => { 'constraint' => [] } }, 'Gscan2pdf::Scanner::Options' ); to $VAR1 = bless( { 'array' => [ { 'index' => 0 }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => 'Scan mode', 'index' => 1, 'max_values' => 0, 'title' => 'Scan mode', 'type' => 5, 'unit' => 0 }, { 'cap' => 21, 'constraint' => [ 75, 150, 300, 600, 1200, 2400 ], 'constraint_type' => 2, 'desc' => 'Sets the resolution of the scanned image.', 'index' => 2, 'max_values' => 1, 'name' => 'resolution', 'title' => 'Scan resolution', 'type' => 1, 'unit' => 4, 'val' => 75 }, { 'cap' => 21, 'constraint' => [ 'Color', 'Gray', 'Lineart' ], 'constraint_type' => 3, 'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', 'index' => 3, 'max_values' => 1, 'name' => 'mode', 'title' => 'Scan mode', 'type' => 3, 'unit' => 0, 'val' => 'Color' }, { 'cap' => 5, 'constraint' => [ 'Flatbed' ], 'constraint_type' => 3, 'desc' => 'Selects the scan source (such as a document-feeder). Set source before mode and resolution. Resets mode and resolution to auto values.', 'index' => 4, 'max_values' => 1, 'name' => 'source', 'title' => 'Scan source', 'type' => 3, 'unit' => 0, 'val' => 'Flatbed' }, { 'cap' => 5, 'constraint_type' => 0, 'desc' => 'When enabled, scan process will not start immediately. To proceed, press "SCAN" button (for MP150) or "COLOR" button (for other models). To cancel, press "GRAY" button.', 'index' => 5, 'max_values' => 1, 'name' => 'button-controlled', 'title' => 'Button-controlled scan', 'type' => 0, 'unit' => 0, 'val' => 0 }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => 'Gamma', 'index' => 6, 'max_values' => 0, 'title' => 'Gamma', 'type' => 5, 'unit' => 0 }, { 'cap' => 21, 'constraint_type' => 0, 'desc' => 'Determines whether a builtin or a custom gamma-table should be used.', 'index' => 7, 'max_values' => 1, 'name' => 'custom-gamma', 'title' => 'Use custom gamma table', 'type' => 0, 'unit' => 0, 'val' => 0 }, { 'cap' => 53, 'constraint' => { 'max' => 65535, 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Gamma-correction table with 1024 entries. In color mode this option equally affects the red, green, and blue channels simultaneously (i.e., it is an intensity gamma table).', 'index' => 8, 'max_values' => 1024, 'name' => 'gamma-table', 'title' => 'Image intensity', 'type' => 1, 'unit' => 0 }, { 'cap' => 21, 'constraint' => { 'max' => 5, 'min' => '0.29998779296875', 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Changes intensity of midtones', 'index' => 9, 'max_values' => 1, 'name' => 'gamma', 'title' => 'Gamma function exponent', 'type' => 2, 'unit' => 0, 'val' => '2.19999694824219' }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => 'Geometry', 'index' => 10, 'max_values' => 0, 'title' => 'Geometry', 'type' => 5, 'unit' => 0 }, { 'cap' => 21, 'constraint' => { 'max' => '216.069320678711', 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Top-left x position of scan area.', 'index' => 11, 'max_values' => 1, 'name' => 'tl-x', 'title' => 'Top-left x', 'type' => 2, 'unit' => 3, 'val' => 0 }, { 'cap' => 21, 'constraint' => { 'max' => '297.010665893555', 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Top-left y position of scan area.', 'index' => 12, 'max_values' => 1, 'name' => 'tl-y', 'title' => 'Top-left y', 'type' => 2, 'unit' => 3, 'val' => 0 }, { 'cap' => 21, 'constraint' => { 'max' => '216.069320678711', 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Bottom-right x position of scan area.', 'index' => 13, 'max_values' => 1, 'name' => 'br-x', 'title' => 'Bottom-right x', 'type' => 2, 'unit' => 3, 'val' => '216.069320678711' }, { 'cap' => 21, 'constraint' => { 'max' => '297.010665893555', 'min' => 0, 'quant' => 0 }, 'constraint_type' => 1, 'desc' => 'Bottom-right y position of scan area.', 'index' => 14, 'max_values' => 1, 'name' => 'br-y', 'title' => 'Bottom-right y', 'type' => 2, 'unit' => 3, 'val' => '297.010665893555' }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => 'Buttons', 'index' => 15, 'max_values' => 0, 'title' => 'Buttons', 'type' => 5, 'unit' => 0 }, { 'cap' => 69, 'constraint_type' => 0, 'desc' => 'Update button state', 'index' => 16, 'max_values' => 0, 'name' => 'button-update', 'title' => 'Update button state', 'type' => 4, 'unit' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'Button 1', 'index' => 17, 'max_values' => 1, 'name' => 'button-1', 'title' => 'Button 1', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'Button 2', 'index' => 18, 'max_values' => 1, 'name' => 'button-2', 'title' => 'Button 2', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'Type of original to scan', 'index' => 19, 'max_values' => 1, 'name' => 'original', 'title' => 'Type of original to scan', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'Target operation type', 'index' => 20, 'max_values' => 1, 'name' => 'target', 'title' => 'Target operation type', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'Scan resolution', 'index' => 21, 'max_values' => 1, 'name' => 'scan-resolution', 'title' => 'Scan resolution', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'Document type', 'index' => 22, 'max_values' => 1, 'name' => 'document-type', 'title' => 'Document type', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'ADF status', 'index' => 23, 'max_values' => 1, 'name' => 'adf-status', 'title' => 'ADF status', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 68, 'constraint_type' => 0, 'desc' => 'ADF orientation', 'index' => 24, 'max_values' => 1, 'name' => 'adf-orientation', 'title' => 'ADF orientation', 'type' => 1, 'unit' => 0, 'val' => 0 }, { 'cap' => 0, 'constraint_type' => 0, 'desc' => 'Extras', 'index' => 25, 'max_values' => 0, 'title' => 'Extras', 'type' => 5, 'unit' => 0 }, { 'cap' => 53, 'constraint' => { 'max' => 100, 'min' => 0, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Select minimum-brightness to get a white point', 'index' => 26, 'max_values' => 1, 'name' => 'threshold', 'title' => 'Threshold', 'type' => 1, 'unit' => 5 }, { 'cap' => 53, 'constraint' => { 'max' => 127, 'min' => 0, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'Dynamic threshold curve, from light to dark, normally 50-65', 'index' => 27, 'max_values' => 1, 'name' => 'threshold-curve', 'title' => 'Threshold curve', 'type' => 1, 'unit' => 0 }, { 'cap' => 53, 'constraint' => { 'max' => 3600, 'min' => 0, 'quant' => 1 }, 'constraint_type' => 1, 'desc' => 'When set, the scanner waits upto the specified time in seconds for a new document inserted into the automatic document feeder.', 'index' => 28, 'max_values' => 1, 'name' => 'adf-wait', 'title' => 'ADF Waiting Time', 'type' => 1, 'unit' => 0 } ], 'geometry' => { 'l' => 0, 't' => 0, 'x' => '216.069320678711', 'y' => '297.010665893555' }, 'hash' => { 'adf-orientation' => $VAR1->{'array'}[24], 'adf-status' => $VAR1->{'array'}[23], 'adf-wait' => $VAR1->{'array'}[28], 'br-x' => $VAR1->{'array'}[13], 'br-y' => $VAR1->{'array'}[14], 'button-1' => $VAR1->{'array'}[17], 'button-2' => $VAR1->{'array'}[18], 'button-controlled' => $VAR1->{'array'}[5], 'button-update' => $VAR1->{'array'}[16], 'custom-gamma' => $VAR1->{'array'}[7], 'document-type' => $VAR1->{'array'}[22], 'gamma' => $VAR1->{'array'}[9], 'gamma-table' => $VAR1->{'array'}[8], 'mode' => $VAR1->{'array'}[3], 'original' => $VAR1->{'array'}[19], 'resolution' => $VAR1->{'array'}[2], 'scan-resolution' => $VAR1->{'array'}[21], 'source' => $VAR1->{'array'}[4], 'target' => $VAR1->{'array'}[20], 'threshold' => $VAR1->{'array'}[26], 'threshold-curve' => $VAR1->{'array'}[27], 'tl-x' => $VAR1->{'array'}[11], 'tl-y' => $VAR1->{'array'}[12] }, 'source' => $VAR1->{'array'}[4] }, 'Gscan2pdf::Scanner::Options' ); DEBUG - Options support paper size 'A4'. DEBUG - Options support paper size 'Lettre US'. DEBUG - Options do not support paper size 'Légal US'. DEBUG - Options do not support paper size 'A3'. DEBUG - Started setting cursor from wait to default DEBUG - Finished setting cursor from wait to default INFO - sane_set_option 2 (resolution) to 300 returned status 0 (Success) with info 4 (SANE_INFO_RELOAD_PARAMS) DEBUG - signal 'started-process' emitted with message: Setting option resolution DEBUG - signal 'finished-process' emitted with data: set_option resolution to 300 DEBUG - Setting widget 'resolution' to '300'. INFO - rotate facing 0 INFO - rotate reverse 0 INFO - unpaper INFO - UDT INFO - Current UDT gimp %i INFO - OCR DEBUG - Started setting cursor from default to progress DEBUG - Finished setting cursor from default to progress INFO - gscan2pdf: scanning image of size 2552x3508 pixels at 24 bits/pixel INFO - gscan2pdf: acquiring RGB frame INFO - Scanning 1 pages from 1 with step 1 DEBUG - signal 'started-process' emitted with message: Numérisation de la page 1 sur 1 INFO - gscan2pdf: sane_read: End of file reached INFO - gscan2pdf: min/max graylevel value = 255/0 INFO - gscan2pdf: read 26857248 bytes in total INFO - Scanned page /tmp/gscan2pdf-Gs6H/2jKPMPlzjm.pnm. (scanner status = 5) DEBUG - $VAR1 = []; DEBUG - Free space in /tmp/gscan2pdf-Gs6H (Mb): 7954.35546875 (warning at 10) INFO - Importing scan with resolution=300,300 DEBUG - signal 'finished-process' emitted with data: scan_pages DEBUG - Started setting cursor from progress to default DEBUG - Finished setting cursor from progress to default INFO - Header suggests 26857285 INFO - Expecting 26857285, found 26857285 INFO - New page filename /tmp/gscan2pdf-Gs6H/2jKPMPlzjm.pnm, format Portable anymap INFO - New page written as /tmp/gscan2pdf-Gs6H/l_87BBcWda.pnm (8CAC8722-E60D-11EB-8FF1-F24B42F48204) DEBUG - Started setting page_number_start from 1 to 2 DEBUG - Started setting max_pages from 0 to -1 DEBUG - Finished setting max_pages from 0 to -1 DEBUG - Finished setting page_number_start from 1 to 2 INFO - Added /tmp/gscan2pdf-Gs6H/l_87BBcWda.pnm (8CAC8722-E60D-11EB-8FF1-F24B42F48204) at page 1 with resolution 300,300 INFO - New page filename /tmp/gscan2pdf-Gs6H/RnY_3tQCtJ.png, format Portable Network Graphics INFO - New page written as /tmp/gscan2pdf-Gs6H/eKTiQeWL7X.png (8F5F9806-E60D-11EB-8FF1-F24B42F48204) INFO - Converted /tmp/gscan2pdf-Gs6H/l_87BBcWda.pnm to /tmp/gscan2pdf-Gs6H/eKTiQeWL7X.png INFO - Replaced /tmp/gscan2pdf-Gs6H/l_87BBcWda.pnm (8CAC8722-E60D-11EB-8FF1-F24B42F48204) at page 1 with /tmp/gscan2pdf-Gs6H/QrZfW9Laa7.png (8CAC8722-E60D-11EB-8FF1-F24B42F48204), resolution 300,300 DEBUG - $VAR1 = [ [ 1, bless( {}, 'Gtk3::Gdk::Pixbuf' ), bless( { 'dir' => '/tmp/gscan2pdf-Gs6H', 'filename' => bless( \*{'File::Temp::$fh'}, 'File::Temp' ), 'format' => 'Portable Network Graphics', 'height' => 3508, 'uuid' => '8CAC8722-E60D-11EB-8FF1-F24B42F48204', 'width' => '2552', 'xresolution' => 300, 'yresolution' => 300 }, 'Gscan2pdf::Page' ) ] ]; DEBUG - Free space in /tmp/gscan2pdf-Gs6H (Mb): 7924.87890625 (warning at 10) INFO - Rotating /tmp/gscan2pdf-Gs6H/QrZfW9Laa7.png by 90 degrees INFO - Replaced /tmp/gscan2pdf-Gs6H/QrZfW9Laa7.png (8CAC8722-E60D-11EB-8FF1-F24B42F48204) at page 1 with /tmp/gscan2pdf-Gs6H/EmkfGzuVif.png (8CAC8722-E60D-11EB-8FF1-F24B42F48204), resolution 300,300 DEBUG - save filename dialog returned ok DEBUG - FileChooserDialog returned /home/aurelien/Desktop/2021-07-16.pdf DEBUG - Started saving /home/aurelien/Desktop/2021-07-16.pdf INFO - Using /usr/share/fonts/TTF/fonts-ttf-urw/P052-Roman.ttf for non-ASCII text INFO - Depth of /tmp/gscan2pdf-Gs6H/EmkfGzuVif.png is 8 INFO - Type of /tmp/gscan2pdf-Gs6H/EmkfGzuVif.png is TrueColor INFO - Selecting jpg compression INFO - Converting /tmp/gscan2pdf-Gs6H/EmkfGzuVif.png to /tmp/gscan2pdf-Gs6H/H2AFjWDLct.jpg with quality=75 INFO - Writing temporary image /tmp/gscan2pdf-Gs6H/H2AFjWDLct.jpg INFO - Embedding OCR output behind image INFO - Defining page at 841.92 pt x 612.48 pt INFO - Added /tmp/gscan2pdf-Gs6H/H2AFjWDLct.jpg at 300 PPI INFO - Closing PDF INFO - Opening file:///home/aurelien/Desktop/2021-07-16.pdf via default launcher DEBUG - Finished saving /home/aurelien/Desktop/2021-07-16.pdf INFO - Wrote config to /home/aurelien/.config/gscan2pdfrc INFO - Killing Sane thread(s)
View Attachment As Raw
Actions:
View
Attachments on
bug 29246
:
12863
|
12864
|
12865
| 12866 |
12925