[sane-devel] Epson Perfection 610 Issue with 150 dpi scan
Rainer Dorsch
rdorsch at web.de
Sat Jan 9 23:36:19 UTC 2010
Hi Alessandro and Olaf,
thanks for the patch.
Am Freitag, 8. Januar 2010 schrieb Alessandro Zummo:
> On Fri, 8 Jan 2010 00:25:54 +0100
>
> Rainer Dorsch <rdorsch at web.de> wrote:
> > will can do more tests on the weekend. Is there something you would
> > consider of high value? Varying resolutions? Varying color, grayscale,
> > and binary? Others? Do you want to see the debug output? If yes, debug
> > level 18?
>
> Hi, I have another patch, with the changes suggested by Olaf.
> color shuffle is enabled only in color mode, you might want to
> test it with 150 and 300 dpi, it should be enough.
>
> If you experience problems you can send me the output at level
> 18. if everything is ok I'll commit the patch.
I applied the patch, build, and tested all supported color resolutions (75,
150, 300, 600). I list below how many lines where requested, what the backend
requested, and what the scanner really scanned:
(table best viewed with monospace font)
res | lines requested | backend requested | lines scanned
| by user | by backend |
------------------------------------------------------------
75 | 877 | 873 | 873
150 | 1754 | 1746 | 1746
300 | 3508 | 3492 | 3496
600 | 7016 | 6984 | 7016
All generated pnms were accepted by imagemagick.
Here all the details:
I applied the patch and got the warning again.
rd at dell:~/SW.nobackup/sane-backends$ git apply ~/p610.patch
/home/rd/p610.patch:172: trailing whitespace.
/home/rd/p610.patch:247: trailing whitespace.
else if ((s->hw->cmd->level[0] == 'B') && (s->hw->level == 4) /*
B4 !color */
warning: 2 lines add whitespace errors.
rd at dell:~/SW.nobackup/sane-backends$
I did the test with
rd at dell:~/sane-test$ for r in 150 300 75 600; do
> SANE_DEBUG_EPSON2=18 scanimage -d 'epson2:libusb:001:003' --mode='Color' -y
297 -l 0 --resolution=$r -x 210 -t 0 -v >$r/test.pnm 2> $r/test-patch2.dbg
> echo $r done
> done
requested scan length: -y 297 -l 0
Test done: all supported color modes: 75/150/300/600 dpi color
75 dpi:
-> requested scan length: 29.7 cm
-> calculated accurate number of lines: 877
-> adjusted params.lines for color_shuffle by 4 to 873
-> scanned length: 29.57 cm
-> scanimage: read 1613304 bytes in total
(scanner scans as much lines as requested by backend, 873)
-> current error: 1.3mm
150dpi:
-> requested scan length: 29.7 cm
-> calculated accurate number of lines: 1754
-> adjusted params.lines for color_shuffle by 8 to 1746
-> scanned length: 29.57 cm
-> scanimage: read 6495120 bytes in total
(scanner scans as much lines as requested by backend, 1746)
-> current error: 1.3mm
300dpi:
-> requested scan length: 29.7 cm
-> calculated accurate number of lines: 3508
-> adjusted params.lines for color_shuffle by 16 to 3492
-> scanned length: 29.57 cm
-> scanimage: WARNING: read more data than announced by backend
(26010240/25980480)
corresponds to 3496 lines
-> current error: 1.0mm
600dpi:
-> requested scan length: 29.7 cm
-> calculated accurate number of lines: 7016
-> adjusted params.lines for color_shuffle by 32 to 6984
-> scanned length: 29.57 cm
-> scanimage: WARNING: read more data than announced by backend
(104398080/103921920)
corresponds to 7016
-> error: 0mm
Full debug data are available at
http://bokomoko.de/~rd/sane-test/
Thanks,
Rainer
--
Rainer Dorsch
Lärchenstr. 6
D-72135 Dettenhausen
07157-734133
email: rdorsch at web.de
jabber: rdorsch at jabber.org
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F 8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20100110/2475e6a4/attachment-0001.pgp>
More information about the sane-devel
mailing list