kopia lustrzana https://gitlab.com/sane-project/website
160 wiersze
5.8 KiB
HTML
160 wiersze
5.8 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="mh (crapsite@gmx.net)">
|
|
<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:03:33 2001" -->
|
|
<!-- isoreceived="20010301100333" -->
|
|
<!-- sent="Thu, 1 Mar 2001 10:34:13 +0100" -->
|
|
<!-- isosent="20010301093413" -->
|
|
<!-- name="mh" -->
|
|
<!-- email="crapsite@gmx.net" -->
|
|
<!-- subject="Re: Writing Fujitsu M3091 backend" -->
|
|
<!-- id="01030111120201.03815@slowcrap" -->
|
|
<!-- inreplyto="3A9DEBDD.F583888F@objects.com.au" -->
|
|
<STRONG>From:</STRONG> mh (<A HREF="mailto:crapsite@gmx.net?Subject=Re:%20Writing%20Fujitsu%20M3091%20backend&In-Reply-To=<01030111120201.03815@slowcrap>"><EM>crapsite@gmx.net</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Thu Mar 01 2001 - 01:34:13 PST
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0004.html">Mick Barry: "Re: Writing Fujitsu M3091 backend"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0002.html">Eddy De Greef: "Re: No scanners identified"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0000.html">Mick Barry: "Re: Writing Fujitsu M3091 backend"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0004.html">Mick Barry: "Re: Writing Fujitsu M3091 backend"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0004.html">Mick Barry: "Re: Writing Fujitsu M3091 backend"</A>
|
|
<LI><STRONG>Reply:</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#3">[ date ]</A>
|
|
<A HREF="index.html#3">[ thread ]</A>
|
|
<A HREF="subject.html#3">[ subject ]</A>
|
|
<A HREF="author.html#3">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Mick Barry, Don, 01 Mär 2001 :
|
|
<BR>
|
|
<EM>> Tom,
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Thanks muchly for this.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> I'm still unclear on how a f/e knows that there is new image, and not
|
|
</EM><BR>
|
|
<EM>> just a new frame for the current image. Is it implied by what frames
|
|
</EM><BR>
|
|
<EM>> have been recieved.
|
|
</EM><BR>
|
|
<EM>> So if we looked at just the getparameter replies is the following how it
|
|
</EM><BR>
|
|
<EM>> is intended to work:
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> GetParameters (format=Red, LastFrame=false)
|
|
</EM><BR>
|
|
<EM>> GetParameters (format=Green, LastFrame=false)
|
|
</EM><BR>
|
|
<EM>> GetParameters (format=Blue, LastFrame=false)
|
|
</EM><BR>
|
|
<EM>> // Implies a new image cause we've already read r, g & b
|
|
</EM><BR>
|
|
<EM>> GetParameters (format=Grey, LastFrame=false)
|
|
</EM><BR>
|
|
<EM>> // Implies a new image cause we've read grey image which only has simple
|
|
</EM><BR>
|
|
<EM>> frame
|
|
</EM><BR>
|
|
<EM>> GetParameters (format=RGB, LastFrame=false)
|
|
</EM><BR>
|
|
<EM>> // Implies a new image cause we've read rgb image which only has simple
|
|
</EM><BR>
|
|
<EM>> frame
|
|
</EM><BR>
|
|
<P>Hi,
|
|
<BR>
|
|
ok, I hope, one last comment is allowed (and please correct me, if I'm wrong):
|
|
<BR>
|
|
<P>According to the current SANE Standard, there's absolutely no way for a frontend
|
|
<BR>
|
|
to determine, whether there's another image available, especially not by
|
|
<BR>
|
|
a call to sane_get_parameters().
|
|
<BR>
|
|
The member last_frame is *always* false, if your scanning a single frame image
|
|
<BR>
|
|
(like RGB or grayscale). This member is only used if you are scanning a
|
|
<BR>
|
|
multi frame image.
|
|
<BR>
|
|
See SANE Standard 1.02, page 28:
|
|
<BR>
|
|
<P>"Member last_frame is set to SANE_TRUE if and only if the frame that is
|
|
<BR>
|
|
currently being acquired (or the frame that will be acquired next if there is
|
|
<BR>
|
|
no current frame) is the last frame of a multi frame image (e.g., the current
|
|
<BR>
|
|
frame is the blue component of a red, green, blue image)."
|
|
<BR>
|
|
<P>There is no "well known option" or a flag in SANE_Parameters which tells the
|
|
<BR>
|
|
frontend that it should continue with image acquisition. Therefore you
|
|
<BR>
|
|
have the following possibilities:
|
|
<BR>
|
|
-let the user hit the scan button for each single scan operation
|
|
<BR>
|
|
-let the user set the number of scans, and then try to acquire this number of
|
|
<BR>
|
|
scans.
|
|
<BR>
|
|
<P>...as I said before, please correct me, if I'm wrong.
|
|
<BR>
|
|
<P>Michael
|
|
<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=<01030111120201.03815@slowcrap>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0004.html">Mick Barry: "Re: Writing Fujitsu M3091 backend"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0002.html">Eddy De Greef: "Re: No scanners identified"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0000.html">Mick Barry: "Re: Writing Fujitsu M3091 backend"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0004.html">Mick Barry: "Re: Writing Fujitsu M3091 backend"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0004.html">Mick Barry: "Re: Writing Fujitsu M3091 backend"</A>
|
|
<LI><STRONG>Reply:</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#3">[ date ]</A>
|
|
<A HREF="index.html#3">[ thread ]</A>
|
|
<A HREF="subject.html#3">[ subject ]</A>
|
|
<A HREF="author.html#3">[ 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:04:31 PST</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|