sane-project-website/old-archive/1999-04/0111.html

72 wiersze
3.0 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Tue Apr 6 12:03:21 1999 PDT" -->
<!-- sent="Tue, 06 Apr 1999 21:05:13 +0200" -->
<!-- name="Oliver Rauch" -->
<!-- email="oliver.rauch@Wolfsburg.DE" -->
<!-- subject="Re: 16 bit per sample support" -->
<!-- id="" -->
<!-- inreplyto="16 bit per sample support" -->
<title>sane-devel: Re: 16 bit per sample support</title>
<h1>Re: 16 bit per sample support</h1>
<b>Oliver Rauch</b> (<a href="mailto:oliver.rauch@Wolfsburg.DE"><i>oliver.rauch@Wolfsburg.DE</i></a>)<br>
<i>Tue, 06 Apr 1999 21:05:13 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#111">[ date ]</a><a href="index.html#111">[ thread ]</a><a href="subject.html#111">[ subject ]</a><a href="author.html#111">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0112.html">Petter Reinholdtsen: "AGFA 1236s patch 5 available"</a>
<li> <b>Previous message:</b> <a href="0110.html">Ewald R. de Wit: "Re: 16 bit per sample support"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Ewald R. de Wit wrote:<br>
<p>
<i>&gt; Oliver Rauch (<a href="mailto:oliver.rauch@Wolfsburg.DE">oliver.rauch@Wolfsburg.DE</a>) wrote:</i><br>
<i>&gt; &gt; If the image depth is greater than 8 bits per sample most of the scanners</i><br>
<i>&gt; &gt; (e.g all UMAX, as far as I know microtek too) do send the data padded to</i><br>
<i>&gt; &gt; the most significant bits.</i><br>
<i>&gt;</i><br>
<i>&gt; Just as a little scan trivia: the HP format is LSB-justified.</i><br>
<i>&gt;</i><br>
<i>&gt; &gt; The only problem I see is that the frontend does not now the real bit depth,</i><br>
<i>&gt; &gt; because</i><br>
<i>&gt; &gt; the backend says 16 bits in all this cases!</i><br>
<i>&gt;</i><br>
<i>&gt; Well then lets define 'depth' to be the native depth. If depth&gt;8 then</i><br>
<i>&gt; the frontend should know that one sample is send MSB justified and stretched</i><br>
<i>&gt; (the way Andy described) to 16 bits. How would that sound?</i><br>
<i>&gt;</i><br>
<p>
This would not break the sane api very hard and all backends would still<br>
work.Only a backend that does work this way will not work with an "old" frontend.<br>
<p>
So I think it would be ok. Should be no great thing for xsane to do so, but<br>
David has to confirm this first!<br>
<p>
Bye<br>
Oliver<br>
<p>
<p>
<pre>
--
EMAIL: <a href="mailto:Oliver.Rauch@Wolfsburg.DE">Oliver.Rauch@Wolfsburg.DE</a>
WWW: <a href="http://www.wolfsburg.de/~rauch">http://www.wolfsburg.de/~rauch</a>
<p>
<p>
<p>
<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="0112.html">Petter Reinholdtsen: "AGFA 1236s patch 5 available"</a>
<li> <b>Previous message:</b> <a href="0110.html">Ewald R. de Wit: "Re: 16 bit per sample support"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>