plustek@linuxhacker.org

plustek@linuxhacker.org


Subject: mode changes image size
From: Gunther Reiszig
Date: Fri, 4 Apr 2003 19:05:36 +0200 (CEST)

Dear friends,
how does it come that the mode parameter supplied to scanimage changes
the number of row or columns in the produced image?

# scanimage --mode binary -x 10mm -y 20mm |pnmfile
stdin: PBM raw, 24 by 39
# scanimage --mode gray -x 10mm -y 20mm |pnmfile
stdin: PGM raw, 19 by 39  maxval 255

Gunther



plustek@linuxhacker.org