Re: sane-0.57 available

Matthias Lautner (lautner@hoggle.syscomp.de)
Wed, 14 May 1997 10:54:55 +0200 (MET DST)

Hi!

I tested sane-0.57 on my MFS-12000CX 3-pass scanner and got errors while
scanning color images with gamma table allthough the scanned image looks good.

// after 1st pass, while the lamp moves back
Error: Failed to set value of option red-gamma-table: Device busy.
Error: Failed to set value of option green-gamma-table: Device busy.
Error: Failed to set value of option blue-gamma-table: Device busy.
// after 2nd pass, while the lamp moves back
Error: Failed to set value of option gamma-table: Device busy.
Error: Failed to set value of option red-gamma-table: Device busy.
Error: Failed to set value of option green-gamma-table: Device busy.
Error: Failed to set value of option blue-gamma-table: Device busy.

The progress bar of xscanimage stops at each scan after about 90% and proceeds
to 100% on the next pass

Halftone scanning with xscanimage:
pattern size 0 works good. In all other cases the Pattern box has only a
horizontal Line. How can I set the patterns. xscanimage offers only a
curve to alter like gamma correction.

The brightness and contrast is calculated wrong for 3-pass mustek scanners.
change in function encode_percentage() in mustek.c
code = (int) ((value / 100.0 / quant) + 0.5) + 0x0c;
to
code = (int) (((value +100) / 100.0 * 12.0) + 0.5);
// quant is now unused

In color scanning the previous settings of brightness and contrast from a former
Lineart scan are used and take effect. Why shouldn´t it be allowed to set
brightness and contrast in color mode?

greetings

Matthias
------------------------------------------------------------------
Matthias Lautner email: m_lautner@syscomp.de
Fa. SYSCOMP GmbH Augsburg, Germany phone: 0821 / 4201-139
Biochemische Dienstleistungen fax : 0821 / 4201-411

--
Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/
To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com