sane-project-website/old-archive/1997-05/0002.html

88 wiersze
4.0 KiB
HTML
Czysty Wina Historia

<!-- received="Thu May 15 00:49:09 1997 MST" -->
<!-- sent="Thu, 15 May 1997 09:39:24 +0200 (MET DST)" -->
<!-- name="Matthias Lautner" -->
<!-- email="lautner@hoggle.syscomp.de" -->
<!-- subject="Re: [patch] Re: sane-0.57 available" -->
<!-- id="199705150739.JAA30562@hoggle.syscomp.de" -->
<!-- inreplyto="199705141616.JAA15860@panda.mosberger" -->
<title>sane-devel: Re: [patch] Re: sane-0.57 available</title>
<h1>Re: [patch] Re: sane-0.57 available</h1>
<b>Matthias Lautner</b> (<a href="mailto:lautner@hoggle.syscomp.de"><i>lautner@hoggle.syscomp.de</i></a>)<br>
<i>Thu, 15 May 1997 09:39:24 +0200 (MET DST)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#2">[ date ]</a><a href="index.html#2">[ thread ]</a><a href="subject.html#2">[ subject ]</a><a href="author.html#2">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0003.html">David Mosberger-Tang: "Re: [patch] Re: sane-0.57 available"</a>
<li> <b>Previous message:</b> <a href="0001.html">David Mosberger-Tang: "Re: News from Mustek 600 II CD"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0003.html">David Mosberger-Tang: "Re: [patch] Re: sane-0.57 available"</a>
<li> <b>Reply:</b> <a href="0003.html">David Mosberger-Tang: "Re: [patch] Re: sane-0.57 available"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hi!<br>
<p>
First some technical data about my scanner:<br>
The scanner is labeled MFS-12000CX<br>
[mustek] attach: firmware revision 2.71<br>
[mustek] attach: found Mustek scanner model MFS-12000CX (flatbed scanner), 3-pass<br>
<p>
I implemented the patch for contrast &amp; brightness<br>
Now the maximum range in the brightness controll of xscanimage is -36% .. 36%<br>
and -84% .. 84% for contrast. Is this right?<br>
<p>
The brightness and contrast is still calculated wrong for 3-pass mustek<br>
scanners.<br>
The result ranges from 1 to 24, it should be 0 to 24.<br>
change in function encode_percentage() in mustek.c<br>
code = (int) ((value / quant) + 0.5) + 0x0c;<br>
to<br>
code = (int) ((value / quant) + 12.5);<br>
<p>
<p>
The errors: "Failed to set value of option red-gamma-table: Device busy."<br>
between the passes of a 3-pass scan originates in a call to <br>
gsg_sync(dialog) in the function scan_start(void) in xscanimage.c.<br>
It seems, that a redraw of the gamma tables send the gamma values to<br>
the scanner (which doesn<73>t want to be disturbed while working.)<br>
<p>
<p>
I enabled brightness and contrast in color mode. It works pretty!<br>
<p>
<p>
The progress bar stops at each scan after about 90% and proceeds to 100%<br>
on the next pass of a 3 pass scan. <br>
The value of the bar is calculated right, but it is not updated on the screen.<br>
<p>
<p>
My scanner manual says that there are 12 internal patterns for halftone<br>
scanning. How can they be activated. Does anybody knows something about<br>
the format of customized half-tone patterns?<br>
<p>
<p>
greetings<br>
<p>
Matthias<br>
------------------------------------------------------------------<br>
Matthias Lautner email: <a href="mailto:m_lautner@syscomp.de">m_lautner@syscomp.de</a><br>
Fa. SYSCOMP GmbH Augsburg, Germany phone: 0821 / 4201-139<br>
Biochemische Dienstleistungen fax : 0821 / 4201-411<br>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.azstarnet.com/~axplinux/sane/">http://www.azstarnet.com/~axplinux/sane/</a>
To unsubscribe: mail -s unsubscribe <a href="mailto:sane-devel-request@listserv.azstarnet.com">sane-devel-request@listserv.azstarnet.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0003.html">David Mosberger-Tang: "Re: [patch] Re: sane-0.57 available"</a>
<li> <b>Previous message:</b> <a href="0001.html">David Mosberger-Tang: "Re: News from Mustek 600 II CD"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0003.html">David Mosberger-Tang: "Re: [patch] Re: sane-0.57 available"</a>
<li> <b>Reply:</b> <a href="0003.html">David Mosberger-Tang: "Re: [patch] Re: sane-0.57 available"</a>
<!-- reply="end" -->
</ul>