kopia lustrzana https://gitlab.com/sane-project/website
82 wiersze
4.0 KiB
HTML
82 wiersze
4.0 KiB
HTML
<!-- received="Mon May 11 20:43:26 1998 PDT" -->
|
|
<!-- sent="Mon, 11 May 1998 21:42:28 -0600 (MDT)" -->
|
|
<!-- name="charter@cs.ualberta.ca" -->
|
|
<!-- email="charter@cs.ualberta.ca" -->
|
|
<!-- subject="Re: problems with snapscan and scanimage" -->
|
|
<!-- id="19980512034234Z13333-19035+343@scapa.cs.ualberta.ca" -->
|
|
<!-- inreplyto="Pine.BSF.3.96.980511203725.299A-100000@atlas.home.dynas.se" -->
|
|
<title>sane-devel: Re: problems with snapscan and scanimage</title>
|
|
<h1>Re: problems with snapscan and scanimage</h1>
|
|
<a href="mailto:charter@cs.ualberta.ca"><i>charter@cs.ualberta.ca</i></a><br>
|
|
<i>Mon, 11 May 1998 21:42:28 -0600 (MDT)</i>
|
|
<p>
|
|
<ul>
|
|
<li> <b>Messages sorted by:</b> <a href="date.html#127">[ date ]</a><a href="index.html#127">[ thread ]</a><a href="subject.html#127">[ subject ]</a><a href="author.html#127">[ author ]</a>
|
|
<!-- next="start" -->
|
|
<li> <b>Next message:</b> <a href="0128.html">David Mosberger-Tang: "Re: [patch] 0.72 sane-dll.so changes..."</a>
|
|
<li> <b>Previous message:</b> <a href="0126.html">=?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?=: "Re: problems with snapscan and scanimage"</a>
|
|
<!-- nextthread="start" -->
|
|
<li> <b>Next in thread:</b> <a href="0130.html">David Mosberger-Tang: "Re: problems with snapscan and scanimage"</a>
|
|
<li> <b>Reply:</b> <a href="0130.html">David Mosberger-Tang: "Re: problems with snapscan and scanimage"</a>
|
|
<!-- reply="end" -->
|
|
</ul>
|
|
<!-- body="start" -->
|
|
<i>> </i><br>
|
|
<i>> </i><br>
|
|
<i>> On Mon, 11 May 1998, KH Jeron wrote:</i><br>
|
|
<i>> </i><br>
|
|
<i>> --- ../../sane-pre0.72.org/backend/snapscan.c Fri Apr 3 11:14:09 1998</i><br>
|
|
<i>> +++ snapscan.c Sun Apr 5 20:47:10 1998</i><br>
|
|
<i>> @@ -2594,7 +2594,7 @@</i><br>
|
|
<i>> for black and white */</i><br>
|
|
<i>> p->depth = pss->pdev->depths[mode];</i><br>
|
|
<i>> </i><br>
|
|
<i>> - if (pss->preview && p->depth > 8)</i><br>
|
|
<i>> + if (/* pss->preview && */ p->depth > 8)</i><br>
|
|
<i>> p->depth = 8;</i><br>
|
|
<i>> </i><br>
|
|
<i>> switch (mode)</i><br>
|
|
<i>> </i><br>
|
|
<i>> </i><br>
|
|
<i>> This may be diffed from a slightly hacked version of snapscan.c, but</i><br>
|
|
<i>> you get the point -- force depth to never be more than eight bits...</i><br>
|
|
<i>> </i><br>
|
|
<p>
|
|
Yes, this should do the trick.<br>
|
|
<p>
|
|
<i>> (*) After a closer look I'd say it does not produce 10 bits -- it just</i><br>
|
|
<i>> *claims* to :-)</i><br>
|
|
<p>
|
|
The output from the scanner to the host is 8 bits per sample, but the<br>
|
|
scanner allows the host to download a 10-bit gamma table for each<br>
|
|
channel. Presumably this gives finer control over gamma correction (or<br>
|
|
"tone curving") than the 8-bit tables, despite the fact that the data<br>
|
|
is being converted to 8 bits before it's sent to the host.<br>
|
|
<p>
|
|
other scanner models too.<br>
|
|
<p>
|
|
Kevin<br>
|
|
<pre>
|
|
--
|
|
Kevin Charter /\ Grad Studies
|
|
<a href="mailto:charter@cs.ualberta.ca">charter@cs.ualberta.ca</a> /\/ \ Department of Computing Science
|
|
<a href="http://web.cs.ualberta.ca/~charter">http://web.cs.ualberta.ca/~charter</a> \ -------- University of Alberta
|
|
-------------- Edmonton AB CANADA
|
|
<p>
|
|
<pre>
|
|
--
|
|
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
|
|
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
|
|
</pre>
|
|
<!-- body="end" -->
|
|
<p>
|
|
<ul>
|
|
<!-- next="start" -->
|
|
<li> <b>Next message:</b> <a href="0128.html">David Mosberger-Tang: "Re: [patch] 0.72 sane-dll.so changes..."</a>
|
|
<li> <b>Previous message:</b> <a href="0126.html">=?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?=: "Re: problems with snapscan and scanimage"</a>
|
|
<!-- nextthread="start" -->
|
|
<li> <b>Next in thread:</b> <a href="0130.html">David Mosberger-Tang: "Re: problems with snapscan and scanimage"</a>
|
|
<li> <b>Reply:</b> <a href="0130.html">David Mosberger-Tang: "Re: problems with snapscan and scanimage"</a>
|
|
<!-- reply="end" -->
|
|
</ul>
|