sane-project-website/old-archive/2000-04/0237.html

127 wiersze
5.1 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: 16 bit support for scanimage</TITLE>
<META NAME="Author" CONTENT="Peter Kirchgessner (peter@kirchgessner.net)">
<META NAME="Subject" CONTENT="16 bit support for scanimage">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>16 bit support for scanimage</H1>
<!-- received="Mon Apr 24 15:00:17 2000" -->
<!-- isoreceived="20000424220017" -->
<!-- sent="Mon, 24 Apr 2000 23:57:25 +0200" -->
<!-- isosent="20000424215725" -->
<!-- name="Peter Kirchgessner" -->
<!-- email="peter@kirchgessner.net" -->
<!-- subject="16 bit support for scanimage" -->
<!-- id="3904C345.B3AE83E6@kirchgessner.net" -->
<STRONG>From:</STRONG> Peter Kirchgessner (<A HREF="mailto:peter@kirchgessner.net?Subject=Re:%2016%20bit%20support%20for%20scanimage&In-Reply-To=&lt;3904C345.B3AE83E6@kirchgessner.net&gt;"><EM>peter@kirchgessner.net</EM></A>)<BR>
<STRONG>Date:</STRONG> Mon Apr 24 2000 - 14:57:25 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0238.html">Ying Li: "Canon Canoscan FB630U"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0236.html">Daniel Bair: "SCSI Scanner"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0263.html">Petter Reinholdtsen: "Re: 16 bit support for scanimage"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0263.html">Petter Reinholdtsen: "Re: 16 bit support for scanimage"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0268.html">Petter Reinholdtsen: "Re: 16 bit support for scanimage"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0279.html">Petter Reinholdtsen: "Re: 16 bit support for scanimage"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#237">[ date ]</A>
<A HREF="index.html#237">[ thread ]</A>
<A HREF="subject.html#237">[ subject ]</A>
<A HREF="author.html#237">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>enclosed is a proposal for 16 bit support for scanimage. It adds the
<BR>
possibility to save scans as TIFF-files which has both 8 and 16 bit
<BR>
support. It is not based on libtiff, it is just straightforward. The
<BR>
TIFF-files are uncompressed like the PNM-files. If a compression is
<BR>
needed, it should be done in a postprocessing step.
<BR>
The included patch is to be applied to the frontend-directory of SANE
<BR>
1.0.2. It modifies scanimage.c and Makefile.in. It creates two new files
<BR>
stiff.[hc]. Configure must be run again to build the new Makefile.
<BR>
To get TIFF-output from scanimage, it must be started with -o or
<BR>
--output-tiff.
<BR>
The patch also modifies the PNM-output. For a depth larger than 8 bit, a
<BR>
maxval of 65535 is written instead of 255. At least xv on Intel-Linux
<BR>
can read these files, even if the netpbm-toolbox does not specify binary
<BR>
PPMs with maxval &gt; 255.
<BR>
<P>I could not test 16 bit TIFF-output on non-Intel based Systems. Would be
<BR>
nice if someone could do that.
<BR>
Any suggestions are welcome. Maybe these changes then can get into the
<BR>
next official SANE release.
<BR>
<P>--Peter
<BR>
<P><PRE>
--
Peter Kirchgessner
WWW: <A HREF="http://www.kirchgessner.net">http://www.kirchgessner.net</A>
e-mail: <A HREF="mailto:peter@kirchgessner.net?Subject=Re:%2016%20bit%20support%20for%20scanimage&In-Reply-To=&lt;3904C345.B3AE83E6@kirchgessner.net&gt;">peter@kirchgessner.net</A>
</PRE>
<HR NOSHADE>
<UL>
<LI>application/octet-stream attachment: <A HREF="att-0237/01-patch-scanimage-16bit.gz">patch-scanimage-16bit.gz</A>
</UL>
<!-- attachment="01-patch-scanimage-16bit.gz" -->
<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?Subject=Re:%2016%20bit%20support%20for%20scanimage&In-Reply-To=&lt;3904C345.B3AE83E6@kirchgessner.net&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0238.html">Ying Li: "Canon Canoscan FB630U"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0236.html">Daniel Bair: "SCSI Scanner"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0263.html">Petter Reinholdtsen: "Re: 16 bit support for scanimage"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0263.html">Petter Reinholdtsen: "Re: 16 bit support for scanimage"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0268.html">Petter Reinholdtsen: "Re: 16 bit support for scanimage"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0279.html">Petter Reinholdtsen: "Re: 16 bit support for scanimage"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#237">[ date ]</A>
<A HREF="index.html#237">[ thread ]</A>
<A HREF="subject.html#237">[ subject ]</A>
<A HREF="author.html#237">[ 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>Mon Apr 24 2000 - 15:00:53 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>