kopia lustrzana https://gitlab.com/sane-project/website
184 wiersze
6.4 KiB
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=<3A9E23DC.7248F413@objects.com.au>"><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>>
|
|||
|
</EM><BR>
|
|||
|
<EM>> Mick Barry, Don, 01 M<>r 2001 :
|
|||
|
</EM><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>
|
|||
|
<EM>>
|
|||
|
</EM><BR>
|
|||
|
<EM>> Hi,
|
|||
|
</EM><BR>
|
|||
|
<EM>> ok, I hope, one last comment is allowed (and please correct me, if I'm wrong):
|
|||
|
</EM><BR>
|
|||
|
<EM>>
|
|||
|
</EM><BR>
|
|||
|
<EM>> According to the current SANE Standard, there's absolutely no way for a frontend
|
|||
|
</EM><BR>
|
|||
|
<EM>> to determine, whether there's another image available, especially not by
|
|||
|
</EM><BR>
|
|||
|
<EM>> a call to sane_get_parameters().
|
|||
|
</EM><BR>
|
|||
|
<EM>> The member last_frame is *always* false, if your scanning a single frame image
|
|||
|
</EM><BR>
|
|||
|
<EM>> (like RGB or grayscale). This member is only used if you are scanning a
|
|||
|
</EM><BR>
|
|||
|
<EM>> multi frame image.
|
|||
|
</EM><BR>
|
|||
|
<EM>> See SANE Standard 1.02, page 28:
|
|||
|
</EM><BR>
|
|||
|
<EM>>
|
|||
|
</EM><BR>
|
|||
|
<EM>> "Member last_frame is set to SANE_TRUE if and only if the frame that is
|
|||
|
</EM><BR>
|
|||
|
<EM>> currently being acquired (or the frame that will be acquired next if there is
|
|||
|
</EM><BR>
|
|||
|
<EM>> no current frame) is the last frame of a multi frame image (e.g., the current
|
|||
|
</EM><BR>
|
|||
|
<EM>> frame is the blue component of a red, green, blue image)."
|
|||
|
</EM><BR>
|
|||
|
<EM>>
|
|||
|
</EM><BR>
|
|||
|
<EM>> There is no "well known option" or a flag in SANE_Parameters which tells the
|
|||
|
</EM><BR>
|
|||
|
<EM>> frontend that it should continue with image acquisition. Therefore you
|
|||
|
</EM><BR>
|
|||
|
<EM>> have the following possibilities:
|
|||
|
</EM><BR>
|
|||
|
<EM>> -let the user hit the scan button for each single scan operation
|
|||
|
</EM><BR>
|
|||
|
<EM>> -let the user set the number of scans, and then try to acquire this number of
|
|||
|
</EM><BR>
|
|||
|
<EM>> scans.
|
|||
|
</EM><BR>
|
|||
|
<EM>>
|
|||
|
</EM><BR>
|
|||
|
<EM>> ...as I said before, please correct me, if I'm wrong.
|
|||
|
</EM><BR>
|
|||
|
<EM>>
|
|||
|
</EM><BR>
|
|||
|
<EM>> Michael
|
|||
|
</EM><BR>
|
|||
|
<EM>>
|
|||
|
</EM><BR>
|
|||
|
<EM>> --
|
|||
|
</EM><BR>
|
|||
|
<EM>> Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
|
|||
|
</EM><BR>
|
|||
|
<EM>> To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20Writing%20Fujitsu%20M3091%20backend&In-Reply-To=<3A9E23DC.7248F413@objects.com.au>">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=<3A9E23DC.7248F413@objects.com.au>">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>
|