sane-project-website/old-archive/2001-02/0234.html

134 wiersze
5.2 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: Writing Fujitsu M3091 backend</TITLE>
<META NAME="Author" CONTENT="Nick Lamb (njl98r@ecs.soton.ac.uk)">
<META NAME="Subject" CONTENT="Re: Writing Fujitsu M3091 backend">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Writing Fujitsu M3091 backend</H1>
<!-- received="Tue Feb 27 09:24:25 2001" -->
<!-- isoreceived="20010227172425" -->
<!-- sent="Tue, 27 Feb 2001 17:38:11 +0000" -->
<!-- isosent="20010227173811" -->
<!-- name="Nick Lamb" -->
<!-- email="njl98r@ecs.soton.ac.uk" -->
<!-- subject="Re: Writing Fujitsu M3091 backend" -->
<!-- id="20010227173811.F14413@ecs.soton.ac.uk" -->
<!-- inreplyto="20010227134217.A9112@aruba.remote.org" -->
<STRONG>From:</STRONG> Nick Lamb (<A HREF="mailto:njl98r@ecs.soton.ac.uk?Subject=Re:%20Writing%20Fujitsu%20M3091%20backend&In-Reply-To=&lt;20010227173811.F14413@ecs.soton.ac.uk&gt;"><EM>njl98r@ecs.soton.ac.uk</EM></A>)<BR>
<STRONG>Date:</STRONG> Tue Feb 27 2001 - 09:38:11 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0235.html">Frederik Ramm: "Re: Fujitsu fi-4750C Backend Project"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0233.html">Davis, Tom: "Fujitsu fi-4750C Backend Project"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0232.html">Frederik Ramm: "Writing Fujitsu M3091 backend"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0236.html">Frederik Ramm: "Re: Writing Fujitsu M3091 backend"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0236.html">Frederik Ramm: "Re: Writing Fujitsu M3091 backend"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#234">[ date ]</A>
<A HREF="index.html#234">[ thread ]</A>
<A HREF="subject.html#234">[ subject ]</A>
<A HREF="author.html#234">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
<EM>&gt; Question 1 - How to do duplex scanning.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; If SANE doesn't support that, I could introduce a new parameter that
</EM><BR>
<EM>&gt; controls whether the front or rear side is to be scanned, and each
</EM><BR>
<EM>&gt; page would have to be run through the scanner twice. A waste, but
</EM><BR>
<EM>&gt; possible.
</EM><BR>
<P><EM>&gt; I've grepped for &quot;duplex&quot; in the existing backends (1.0.4) but found
</EM><BR>
<EM>&gt; nothing.
</EM><BR>
<P>None of the backends in 1.0.4 can do duplex scanning AFAICT
<BR>
<P>Handling duplex in the front-ends is probably a bit much, certainly
<BR>
not something that can supported through the SANE 1.0 standard without
<BR>
incompatible tweaks.
<BR>
<P>You might consider buffering the alternate side in SANE driver, which
<BR>
will typically be on a decent-sized PC or server. A whole page is a
<BR>
lot of data to buffer, especially in color, but these days that might
<BR>
be a lot more practical than re-scanning everything.
<BR>
<P>When scanning the first page, half the data goes in this large buffer,
<BR>
then when the frontend asks for another page it comes out of the
<BR>
buffer very quickly. The buffer can be discarded when the frontend
<BR>
calls ..._close() so it won't take up RAM all the time.
<BR>
<P>Of course you still need a &quot;duplex?&quot; setting, because users don't want
<BR>
to scan both sides of a single-sided document :)
<BR>
<P><EM>&gt; Question 2 - How to do the color thing.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; incomplete data at the beginning and the end of the data stream. If I
</EM><BR>
<EM>&gt; request an image of, say, 100 pixels in height, will the scanner then
</EM><BR>
<EM>&gt; give me 100 of which only 84 are fully usable, or will it give me 116?
</EM><BR>
<P>This sounds like something very specific to your scanner. I hope you can
<BR>
figure out how to get the right results to the frontend.
<BR>
<P>Nick.
<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:%20Writing%20Fujitsu%20M3091%20backend&In-Reply-To=&lt;20010227173811.F14413@ecs.soton.ac.uk&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0235.html">Frederik Ramm: "Re: Fujitsu fi-4750C Backend Project"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0233.html">Davis, Tom: "Fujitsu fi-4750C Backend Project"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0232.html">Frederik Ramm: "Writing Fujitsu M3091 backend"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0236.html">Frederik Ramm: "Re: Writing Fujitsu M3091 backend"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0236.html">Frederik Ramm: "Re: Writing Fujitsu M3091 backend"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#234">[ date ]</A>
<A HREF="index.html#234">[ thread ]</A>
<A HREF="subject.html#234">[ subject ]</A>
<A HREF="author.html#234">[ 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>Tue Feb 27 2001 - 09:25:32 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>