Pixels vs. Bytes per Line

Dr. Andreas Bolsch (a.bolsch@ic.ac.uk)
Tue, 20 Oct 1998 19:54:26 +0100

I've encountered the following ambiguity:
scanimage seems to rely on params.bytes_per_line,
xscanimage for the real scan, too, whereas
for the preview on params.pixels_per_line.

Mustek scanners have problems in color mode with
odd resolutions (i.e. different from 75, 150,...).
So resolution is increased to the next even one and
the image scaled according to the desired one.
But I forgot to update params.pixels_per_line causing xscanimage to
crash sometimes.

But it is intention to have this (except for lineart)
redundancy? Which is the authoritative variable?

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com