Re: [patch] Re: sane-0.57 available

Matthias Lautner (lautner@hoggle.syscomp.de)
Thu, 15 May 1997 09:39:24 +0200 (MET DST)

Hi!

First some technical data about my scanner:
The scanner is labeled MFS-12000CX
[mustek] attach: firmware revision 2.71
[mustek] attach: found Mustek scanner model MFS-12000CX (flatbed scanner), 3-pass

I implemented the patch for contrast & brightness
Now the maximum range in the brightness controll of xscanimage is -36% .. 36%
and -84% .. 84% for contrast. Is this right?

The brightness and contrast is still calculated wrong for 3-pass mustek
scanners.
The result ranges from 1 to 24, it should be 0 to 24.
change in function encode_percentage() in mustek.c
code = (int) ((value / quant) + 0.5) + 0x0c;
to
code = (int) ((value / quant) + 12.5);

The errors: "Failed to set value of option red-gamma-table: Device busy."
between the passes of a 3-pass scan originates in a call to
gsg_sync(dialog) in the function scan_start(void) in xscanimage.c.
It seems, that a redraw of the gamma tables send the gamma values to
the scanner (which doesn´t want to be disturbed while working.)

I enabled brightness and contrast in color mode. It works pretty!

The progress bar stops at each scan after about 90% and proceeds to 100%
on the next pass of a 3 pass scan.
The value of the bar is calculated right, but it is not updated on the screen.

My scanner manual says that there are 12 internal patterns for halftone
scanning. How can they be activated. Does anybody knows something about
the format of customized half-tone patterns?

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