sane-project-website/old-archive/1999-05/0104.html

61 wiersze
2.8 KiB
HTML
Czysty Zwykły widok Historia

<!-- received="Wed May 12 01:57:20 1999 PDT" -->
<!-- sent="Wed, 12 May 1999 10:57:48 CET" -->
<!-- name="Matthias Fleischer" -->
<!-- email="FLEISCHER@ito311.ito.uni-stuttgart.de" -->
<!-- subject="Re: [Announce] WinSANE 0.1.0.0 Release" -->
<!-- id="" -->
<!-- inreplyto="[Announce] WinSANE 0.1.0.0 Release" -->
<title>sane-devel: Re: [Announce] WinSANE 0.1.0.0 Release</title>
<h1>Re: [Announce] WinSANE 0.1.0.0 Release</h1>
<b>Matthias Fleischer</b> (<a href="mailto:FLEISCHER@ito311.ito.uni-stuttgart.de"><i>FLEISCHER@ito311.ito.uni-stuttgart.de</i></a>)<br>
<i>Wed, 12 May 1999 10:57:48 CET</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#104">[ date ]</a><a href="index.html#104">[ thread ]</a><a href="subject.html#104">[ subject ]</a><a href="author.html#104">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0105.html">Ewald R. de Wit: "Re: [Announce] WinSANE 0.1.0.0 Release"</a>
<li> <b>Previous message:</b> <a href="0103.html">Rick Knebel: "umax 1220s and FreeBSD 3.1"</a>
<li> <b>Maybe in reply to:</b> <a href="0070.html">Brian Macy: "[Announce] WinSANE 0.1.0.0 Release"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0106.html">Milon Firikis: "Re: [Announce] WinSANE 0.1.0.0 Release"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
<i>&gt; </i><br>
<i>&gt; ----------</i><br>
<i>&gt; Valid bit depths are 1, 8, or 16 bits per sample. If a device's</i><br>
<i>&gt; natural bit depth is something else, it is up to the driver to scale</i><br>
<i>&gt; the sample values appropriately (e.g., a 4 bit sample could be scaled</i><br>
<i>&gt; by a factor of four to represent a sample value of depth 8).</i><br>
<i>&gt; ----------</i><br>
<i>&gt; </i><br>
Maybe I'm just nitpicking or simply don't get it -<br>
but shouldn't this actually read:<br>
<p>
...a 4 bit sample could be scaled by a factor of _seventeen_...<br>
<p>
or maybe<br>
<p>
e.g., a 4 bit sample could be shifted left by 4 bit to represent a <br>
sample value of depth 8 or even better multiplied by a factor of<br>
0x11 (17) so that white pixels still map to white pixels (15*17=255)<br>
<p>
Matthias<br>
<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="0105.html">Ewald R. de Wit: "Re: [Announce] WinSANE 0.1.0.0 Release"</a>
<li> <b>Previous message:</b> <a href="0103.html">Rick Knebel: "umax 1220s and FreeBSD 3.1"</a>
<li> <b>Maybe in reply to:</b> <a href="0070.html">Brian Macy: "[Announce] WinSANE 0.1.0.0 Release"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0106.html">Milon Firikis: "Re: [Announce] WinSANE 0.1.0.0 Release"</a>
<!-- reply="end" -->
</ul>