sane-project-website/old-archive/2000-09/0076.html

89 wiersze
3.6 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: image data format polarity</TITLE>
<META NAME="Author" CONTENT="David Paschal (paschal@rcsis.com)">
<META NAME="Subject" CONTENT="image data format polarity">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>image data format polarity</H1>
<!-- received="Sat Sep 9 02:56:41 2000" -->
<!-- isoreceived="20000909095641" -->
<!-- sent="Sat, 09 Sep 2000 03:03:02 -0700" -->
<!-- isosent="20000909100302" -->
<!-- name="David Paschal" -->
<!-- email="paschal@rcsis.com" -->
<!-- subject="image data format polarity" -->
<!-- id="200009091003.DAA03097@axel.local" -->
<STRONG>From:</STRONG> David Paschal (<A HREF="mailto:paschal@rcsis.com?Subject=Re:%20image%20data%20format%20polarity&In-Reply-To=&lt;200009091003.DAA03097@axel.local&gt;"><EM>paschal@rcsis.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat Sep 09 2000 - 03:03:02 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0077.html">David Paschal: "patch to enable HP OfficeJet support"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0075.html">System Administrator: "How often do you hear this?"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0093.html">Petter Reinholdtsen: "Re: image data format polarity"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0093.html">Petter Reinholdtsen: "Re: image data format polarity"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#76">[ date ]</A>
<A HREF="index.html#76">[ thread ]</A>
<A HREF="subject.html#76">[ subject ]</A>
<A HREF="author.html#76">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi. I discovered a quirk about the image data format expected by frontends,
<BR>
in particular xsane and xscanimage. For bit depths &gt;=8 (grayscale, color),
<BR>
larger values mean more red, green, blue, or white. On the other hand, for
<BR>
1-bit depths (lineart, halftone), 0 means white and 1 means black. Is there
<BR>
any particular reason for this, especially since xsane and xscanimage both
<BR>
end up having to invert it anyway in order to display a preview? In any
<BR>
case, I think this requirement should be mentioned in the SANE Standard
<BR>
document.
<BR>
<P>David
<BR>
<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?Subject=Re:%20image%20data%20format%20polarity&In-Reply-To=&lt;200009091003.DAA03097@axel.local&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0077.html">David Paschal: "patch to enable HP OfficeJet support"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0075.html">System Administrator: "How often do you hear this?"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0093.html">Petter Reinholdtsen: "Re: image data format polarity"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0093.html">Petter Reinholdtsen: "Re: image data format polarity"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#76">[ date ]</A>
<A HREF="index.html#76">[ thread ]</A>
<A HREF="subject.html#76">[ subject ]</A>
<A HREF="author.html#76">[ 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>Sat Sep 09 2000 - 02:57:01 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>