sane-project-website/old-archive/2001-03/0004.html

184 wiersze
6.4 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="Mick Barry (mick@objects.com.au)">
<META NAME="Subject" CONTENT="Re: Writing Fujitsu M3091 backend">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Writing Fujitsu M3091 backend</H1>
<!-- received="Thu Mar 1 02:11:44 2001" -->
<!-- isoreceived="20010301101144" -->
<!-- sent="Thu, 01 Mar 2001 21:26:36 +1100" -->
<!-- isosent="20010301102636" -->
<!-- name="Mick Barry" -->
<!-- email="mick@objects.com.au" -->
<!-- subject="Re: Writing Fujitsu M3091 backend" -->
<!-- id="3A9E23DC.7248F413@objects.com.au" -->
<!-- inreplyto="01030111120201.03815@slowcrap" -->
<STRONG>From:</STRONG> Mick Barry (<A HREF="mailto:mick@objects.com.au?Subject=Re:%20Writing%20Fujitsu%20M3091%20backend&In-Reply-To=&lt;3A9E23DC.7248F413@objects.com.au&gt;"><EM>mick@objects.com.au</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu Mar 01 2001 - 02:26:36 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0005.html">Nick Lamb: "Re: Writing Fujitsu M3091 backend"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0003.html">mh: "Re: Writing Fujitsu M3091 backend"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0003.html">mh: "Re: Writing Fujitsu M3091 backend"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0005.html">Nick Lamb: "Re: Writing Fujitsu M3091 backend"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#4">[ date ]</A>
<A HREF="index.html#4">[ thread ]</A>
<A HREF="subject.html#4">[ subject ]</A>
<A HREF="author.html#4">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Pls don't make it your last comment, at least until we all understand
<BR>
how it is MEANT to work :-)
<BR>
<P>mh wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Mick Barry, Don, 01 Mär 2001 :
</EM><BR>
<EM>&gt; &gt; Tom,
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Thanks muchly for this.
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; I'm still unclear on how a f/e knows that there is new image, and not
</EM><BR>
<EM>&gt; &gt; just a new frame for the current image. Is it implied by what frames
</EM><BR>
<EM>&gt; &gt; have been recieved.
</EM><BR>
<EM>&gt; &gt; So if we looked at just the getparameter replies is the following how it
</EM><BR>
<EM>&gt; &gt; is intended to work:
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; GetParameters (format=Red, LastFrame=false)
</EM><BR>
<EM>&gt; &gt; GetParameters (format=Green, LastFrame=false)
</EM><BR>
<EM>&gt; &gt; GetParameters (format=Blue, LastFrame=false)
</EM><BR>
<EM>&gt; &gt; // Implies a new image cause we've already read r, g &amp; b
</EM><BR>
<EM>&gt; &gt; GetParameters (format=Grey, LastFrame=false)
</EM><BR>
<EM>&gt; &gt; // Implies a new image cause we've read grey image which only has simple
</EM><BR>
<EM>&gt; &gt; frame
</EM><BR>
<EM>&gt; &gt; GetParameters (format=RGB, LastFrame=false)
</EM><BR>
<EM>&gt; &gt; // Implies a new image cause we've read rgb image which only has simple
</EM><BR>
<EM>&gt; &gt; frame
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Hi,
</EM><BR>
<EM>&gt; ok, I hope, one last comment is allowed (and please correct me, if I'm wrong):
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; According to the current SANE Standard, there's absolutely no way for a frontend
</EM><BR>
<EM>&gt; to determine, whether there's another image available, especially not by
</EM><BR>
<EM>&gt; a call to sane_get_parameters().
</EM><BR>
<EM>&gt; The member last_frame is *always* false, if your scanning a single frame image
</EM><BR>
<EM>&gt; (like RGB or grayscale). This member is only used if you are scanning a
</EM><BR>
<EM>&gt; multi frame image.
</EM><BR>
<EM>&gt; See SANE Standard 1.02, page 28:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; &quot;Member last_frame is set to SANE_TRUE if and only if the frame that is
</EM><BR>
<EM>&gt; currently being acquired (or the frame that will be acquired next if there is
</EM><BR>
<EM>&gt; no current frame) is the last frame of a multi frame image (e.g., the current
</EM><BR>
<EM>&gt; frame is the blue component of a red, green, blue image).&quot;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; There is no &quot;well known option&quot; or a flag in SANE_Parameters which tells the
</EM><BR>
<EM>&gt; frontend that it should continue with image acquisition. Therefore you
</EM><BR>
<EM>&gt; have the following possibilities:
</EM><BR>
<EM>&gt; -let the user hit the scan button for each single scan operation
</EM><BR>
<EM>&gt; -let the user set the number of scans, and then try to acquire this number of
</EM><BR>
<EM>&gt; scans.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; ...as I said before, please correct me, if I'm wrong.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Michael
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
</EM><BR>
<EM>&gt; To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20Writing%20Fujitsu%20M3091%20backend&In-Reply-To=&lt;3A9E23DC.7248F413@objects.com.au&gt;">majordomo@mostang.com</A>
</EM><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;3A9E23DC.7248F413@objects.com.au&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0005.html">Nick Lamb: "Re: Writing Fujitsu M3091 backend"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0003.html">mh: "Re: Writing Fujitsu M3091 backend"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0003.html">mh: "Re: Writing Fujitsu M3091 backend"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0005.html">Nick Lamb: "Re: Writing Fujitsu M3091 backend"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#4">[ date ]</A>
<A HREF="index.html#4">[ thread ]</A>
<A HREF="subject.html#4">[ subject ]</A>
<A HREF="author.html#4">[ 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>Thu Mar 01 2001 - 02:12:47 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>