The first error is that there seems to be a difference in the
number of lines returned by sane_get_parameters and the number
of lines actually send during scanning. In a color scanning,
for example the number returned by sane_get_parameters was
682, but the actual number of lines was 683 (I have the
debugging output).
For B/W scanning (LineArt) it is worse. The number returned
by sane_get_parameters was 590 (this is approximately the
correct line number for that scanning), but the actual number
of lines was 197 (note that 3 times 197 is 591 which is again
one more than returned by sane_get_parameters).
The second error is also in sane_get_parameters. The format
field is not set if you are scanning LineArt.
regards
Svend Daugaard Pedersen
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com