On Tue, Sep 2, 2008 at 7:56 AM, Markus Haberkorn <Markus_Haberkorn at genua.de> wrote: > Hello, > > I use scanner Fujitsu FI-5220C and it works fine. > > /usr/bin/scanadf --mode Gray --resolution 150 --source "Flatbed" -e 1 -s 1 -o > foo.pnm -v > scanadf: scanning image of size 1275x1650 pixels at 8 bits/pixel > scanadf: acquiring gray frame > scanadf: min/max graylevel value = 13/255 > Scanned document foo.pnm > Scanned 1 pages > > But I tried to > modify the white point of scanned pages. But the option "threshold", > given by the help (scanadf --help -d fujitsu) is not recognized. > > /usr/bin/scanadf --mode Gray --resolution 150 --source "Flatbed" -e 1 -s 1 > -o foo.pnm --threshold 100 -v > /usr/bin/scanadf: unrecognized option `--threshold' > > > So what is the right way to manipulate the brightness of scanned > pages?
if you are running a recent version of sane, --brightness is what you want. --threshold is for setting the black/white break point in the lineart/halftone modes. your problem is that you need to run scanadf --help with your other parameters in it: scanadf --mode Gray --help if that does not show the brightness and contrast options, then a SANE upgrade might be required. allan > > with kind regards. > > Markus Haberkorn > > -- > ---------------------------------------------------------------------- > Markus Haberkorn mail : Markus_Haberkorn at genua.de > Gesellschaft f?r UNIX- und tel. : +49 (89) 991950-0 > Netzwerkadministration mbH fax. : +49 (89) 991950-999 > Domagkstrasse 7 www : http://www.genua.de > D-85551 Kirchheim > > Gesch?ftsf?hrer: Dr. Magnus Harlander, Dr. Michaela Harlander, > Bernhard Schneck. Amtsgericht M?nchen HRB 98238 > ---------------------------------------------------------------------- > > > > -- > sane-devel mailing list: sane-devel at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > to sane-devel-request at lists.alioth.debian.org > -- "The truth is an offense, but not a sin"