sane-project-website/old-archive/2000-10/0042.html

134 wiersze
5.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: Patch for sane.tex (image polarity)</TITLE>
<META NAME="Author" CONTENT="abel deuring (a.deuring@satzbau-gmbh.de)">
<META NAME="Subject" CONTENT="Re: Patch for sane.tex (image polarity)">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Patch for sane.tex (image polarity)</H1>
<!-- received="Wed Oct 4 03:02:14 2000" -->
<!-- isoreceived="20001004100214" -->
<!-- sent="Wed, 04 Oct 2000 12:10:38 +0200" -->
<!-- isosent="20001004101038" -->
<!-- name="abel deuring" -->
<!-- email="a.deuring@satzbau-gmbh.de" -->
<!-- subject="Re: Patch for sane.tex (image polarity)" -->
<!-- id="39DB021E.A8DD78BE@satzbau-gmbh.de" -->
<!-- inreplyto="20001003173712.B13321@hmg1.vortex.swb.de" -->
<STRONG>From:</STRONG> abel deuring (<A HREF="mailto:a.deuring@satzbau-gmbh.de?Subject=Re:%20Patch%20for%20sane.tex%20(image%20polarity)&In-Reply-To=&lt;39DB021E.A8DD78BE@satzbau-gmbh.de&gt;"><EM>a.deuring@satzbau-gmbh.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Wed Oct 04 2000 - 03:10:38 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0043.html">Sebastien Sable: "Re: [SnapScan] Acer 300/310/610 and wine debugging"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0041.html">Marcel Pol: "RE: news from microtek2 backend"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0026.html">Henning Meier-Geinitz: "Re: Patch for sane.tex (image polarity)"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0048.html">Nick Lamb: "12bit (was Re: Patch for sane.tex (image polarity))"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0027.html">David Mosberger-Tang: "Re: Patch for sane.tex (image polarity)"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0048.html">Nick Lamb: "12bit (was Re: Patch for sane.tex (image polarity))"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0049.html">John Vickers: "Re: Patch for sane.tex (image polarity)"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#42">[ date ]</A>
<A HREF="index.html#42">[ thread ]</A>
<A HREF="subject.html#42">[ subject ]</A>
<A HREF="author.html#42">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Henning Meier-Geinitz wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Hi,
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; On Tue, Oct 03, 2000 at 02:48:56PM +0200, Oliver Rauch wrote:
</EM><BR>
<EM>&gt; &gt; as far as I know there is no 1 bit color frame or image format defined.
</EM><BR>
<EM>&gt; &gt; I can imagine how this would look like in 3 pass scanning mode,
</EM><BR>
<EM>&gt; &gt; but there is (as far as I know) no interleaved RGB 1 bit format.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; You may be right concerning image formats (like pnm, tiff, ...). The SANE
</EM><BR>
<EM>&gt; standard explicitly allows this case (-&gt;byte interleaved).
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; &gt; May be we should use the 8 bit format for it.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Definitely. If somebody really needs 1-bit color ...
</EM><BR>
<P>The scanners supported by the Sharp backend can produce 1 bit RGB data,
<BR>
and the backend supports the scan mode. But it expands the 1 bit data
<BR>
into 8 bits, because [x]scanimage simply copies the data received from
<BR>
the backend into the output, with a PNM header in front. And a RGB
<BR>
format with 1 bit per colour is apparently not supported by the &quot;PNM
<BR>
programs&quot;, at least in the format delivered by the Sane programs.
<BR>
<P>Therefore, I suggest, that the Sane standard should simply state that
<BR>
RGB data should have at least 8 bits per colour. A smaller bit depth is
<BR>
hardly of an use at a time, where you can buy a 20 GB hard disk for
<BR>
$200, so the only thing needed is a clarification of the standard.
<BR>
<P>(BTW, what happens, if [x]scanimage receives RGB data with, say, 12 bit
<BR>
per colour? Is such a format handled properly by PNM programs or Gimp?)
<BR>
<P>Abel
<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?Subject=Re:%20Patch%20for%20sane.tex%20(image%20polarity)&In-Reply-To=&lt;39DB021E.A8DD78BE@satzbau-gmbh.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0043.html">Sebastien Sable: "Re: [SnapScan] Acer 300/310/610 and wine debugging"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0041.html">Marcel Pol: "RE: news from microtek2 backend"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0026.html">Henning Meier-Geinitz: "Re: Patch for sane.tex (image polarity)"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0048.html">Nick Lamb: "12bit (was Re: Patch for sane.tex (image polarity))"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0027.html">David Mosberger-Tang: "Re: Patch for sane.tex (image polarity)"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0048.html">Nick Lamb: "12bit (was Re: Patch for sane.tex (image polarity))"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0049.html">John Vickers: "Re: Patch for sane.tex (image polarity)"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#42">[ date ]</A>
<A HREF="index.html#42">[ thread ]</A>
<A HREF="subject.html#42">[ subject ]</A>
<A HREF="author.html#42">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Wed Oct 04 2000 - 03:02:46 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>