kopia lustrzana https://gitlab.com/sane-project/website
57 wiersze
2.3 KiB
HTML
57 wiersze
2.3 KiB
HTML
<!-- received="Mon Jul 14 20:36:23 1997 MST" -->
|
|
<!-- sent="Mon, 14 Jul 1997 20:01:41 -0700" -->
|
|
<!-- name="David Mosberger-Tang" -->
|
|
<!-- email="davidm@azstarnet.com" -->
|
|
<!-- subject="fix for silly bug in Mustek backend" -->
|
|
<!-- id="199707150301.UAA23877@panda.mosberger" -->
|
|
<!-- inreplyto="" -->
|
|
<title>sane-devel: fix for silly bug in Mustek backend</title>
|
|
<h1>fix for silly bug in Mustek backend</h1>
|
|
<b>David Mosberger-Tang</b> (<a href="mailto:davidm@azstarnet.com"><i>davidm@azstarnet.com</i></a>)<br>
|
|
<i>Mon, 14 Jul 1997 20:01:41 -0700</i>
|
|
<p>
|
|
<ul>
|
|
<li> <b>Messages sorted by:</b> <a href="date.html#61">[ date ]</a><a href="index.html#61">[ thread ]</a><a href="subject.html#61">[ subject ]</a><a href="author.html#61">[ author ]</a>
|
|
<!-- next="start" -->
|
|
<li> <b>Next message:</b> <a href="0062.html">Philipp Richter: "Re: Mustek scanning problems"</a>
|
|
<li> <b>Previous message:</b> <a href="0060.html">Rildo Pragana: "Re: Cheap linux photo scanner"</a>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
</ul>
|
|
<!-- body="start" -->
|
|
I just noticed that in lineart mode, the gamma table is not ignored by<br>
|
|
the scanner (even though it's supposed to be using the brightness &<br>
|
|
contrast controls only). This can be confusing if you select "Use<br>
|
|
custom gamma table" in the color or grayscale mode and then try to<br>
|
|
scan a lineart image. To avoid this problem, install the appended<br>
|
|
patch.<br>
|
|
<p>
|
|
--david<br>
|
|
<p>
|
|
--- backend/mustek.c~ Tue Jul 1 08:37:48 1997<br>
|
|
+++ backend/mustek.c Mon Jul 14 19:53:02 1997<br>
|
|
@@ -2095,7 +2095,7 @@<br>
|
|
<br>
|
|
status = gamma_correction (s, MUSTEK_CODE_BLUE);<br>
|
|
}<br>
|
|
- else<br>
|
|
+ else if (s->params.depth > 1)<br>
|
|
status = gamma_correction (s, MUSTEK_CODE_GRAY);<br>
|
|
<br>
|
|
if (status != SANE_STATUS_GOOD)<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="0062.html">Philipp Richter: "Re: Mustek scanning problems"</a>
|
|
<li> <b>Previous message:</b> <a href="0060.html">Rildo Pragana: "Re: Cheap linux photo scanner"</a>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
</ul>
|