Package: sane-utils
Version: 1.0.22-7.4

Hello,

I can confirm that scanimage truncates pnm files. I am using a brother DCP7010 print/scan combo on a LAN. The back-end seems to report the paper size wrongly or do faulty rounding (I think it should truncate to nearest pixel, while in fact it just rounds to the nearest millimeter, which is, upwards in this particular case). Strangely enough the individual lines are not misaligned, just some at the bottom are missing.

I used following command line:
>scanimage -d "net:192.168.0.3:brother2:bus3;dev1" --mode "True Gray" --resolution "200" --buffer-size=10000 > /mnt/sda1/asdf.pnm

and got the following messages back:
>scanimage: rounded value of br-x from 210 to 209.981
>scanimage: rounded value of br-y from 297 to 296.973


scanimage --help shows:

Usage: scanimage [OPTION]...

Start image acquisition on a scanner device and write image data to
standard output.

Parameters are separated by a blank from single-character options (e.g.
-d epson) and by a "=" from multi-character options (e.g. --device-name=epson).
-d, --device-name=DEVICE   use a given scanner device (e.g. hp:/dev/scanner)
    --format=pnm|tiff      file format of output file
-i, --icc-profile=PROFILE  include this ICC profile into TIFF file
-L, --list-devices         show available scanner devices
-f, --formatted-device-list=FORMAT similar to -L, but the FORMAT of the output
                           can be specified: %d (device name), %v (vendor),
                           %m (model), %t (type), %i (index number), and
                           %n (newline)
-b, --batch[=FORMAT]       working in batch mode, FORMAT is `out%d.pnm' or
                           `out%d.tif' by default depending on --format
    --batch-start=#        page number to start naming files with
    --batch-count=#        how many pages to scan in batch mode
    --batch-increment=#    increase page number in filename by #
    --batch-double         increment page number by two, same as
                           --batch-increment=2
    --batch-prompt         ask for pressing a key before scanning a page
    --accept-md5-only      only accept authorization requests using md5
-p, --progress             print progress messages
-n, --dont-scan            only set options, don't actually scan
-T, --test                 test backend thoroughly
-A, --all-options          list all available backend options
-h, --help                 display this help message and exit
-v, --verbose              give even more status messages
-B, --buffer-size=#        change input buffer size (in kB, default 32)
-V, --version              print version information
scanimage: rounded value of br-x from 210 to 209.981
scanimage: rounded value of br-y from 297 to 296.973

Options specific to device `net:192.168.0.3:brother2:bus3;dev1':
  Mode:
--mode Black & White|Gray[Error Diffusion]|True Gray|24bit Color|24bit Color[Fast] [24bit Color]
        Select the scan mode
    --resolution 100|150|200|300|400|600|1200|2400|4800|9600dpi [200]
        Sets the resolution of the scanned image.
    --source FlatBed [FlatBed]
        Selects the scan source (such as a document-feeder).
    --brightness -50..50% (in steps of 1) [inactive]
        Controls the brightness of the acquired image.
    --contrast -50..50% (in steps of 1) [inactive]
        Controls the contrast of the acquired image.
  Geometry:
    -l 0..210mm (in steps of 0.0999908) [0]
        Top-left x position of scan area.
    -t 0..297mm (in steps of 0.0999908) [0]
        Top-left y position of scan area.
    -x 0..210mm (in steps of 0.0999908) [209.981]
        Width of scan-area.
    -y 0..297mm (in steps of 0.0999908) [296.973]
        Height of scan-area.

Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE.

List of available devices:
    net:192.168.0.3:brother2:bus3;dev1



Installed stuff:

>dpkg -l \*sane\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
un  iamerican-insa <none>                    (no description available)
un  ibritish-insan <none>                    (no description available)
ii  libsane:i386   1.0.22-7.4   i386         API library for scanners
ii libsane-common 1.0.22-7.4 i386 API library for scanners -- docum
un  libsane-extras <none>                    (no description available)
un  libwine-sane   <none>                    (no description available)
ii  sane           1.0.14-9     i386         scanner graphical frontends
ii sane-utils 1.0.22-7.4 i386 API library for scanners -- utili ii xsane 0.998-3+b1 i386 featureful graphical frontend for ii xsane-common 0.998-3 all featureful graphical frontend for


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to