kopia lustrzana https://gitlab.com/sane-project/website
117 wiersze
4.6 KiB
HTML
117 wiersze
4.6 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: sane_get_parameters before sane_start</TITLE>
|
|
<META NAME="Author" CONTENT="Oliver Rauch (oliver.rauch@rauch-domain.de)">
|
|
<META NAME="Subject" CONTENT="Re: sane_get_parameters before sane_start">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: sane_get_parameters before sane_start</H1>
|
|
<!-- received="Mon Mar 5 12:59:47 2001" -->
|
|
<!-- isoreceived="20010305205947" -->
|
|
<!-- sent="Mon, 05 Mar 2001 22:19:39 +0100" -->
|
|
<!-- isosent="20010305211939" -->
|
|
<!-- name="Oliver Rauch" -->
|
|
<!-- email="oliver.rauch@rauch-domain.de" -->
|
|
<!-- subject="Re: sane_get_parameters before sane_start" -->
|
|
<!-- id="3AA402EB.74284BC7@rauch-domain.de" -->
|
|
<!-- inreplyto="20010305211127.A16058@aruba.remote.org" -->
|
|
<STRONG>From:</STRONG> Oliver Rauch (<A HREF="mailto:oliver.rauch@rauch-domain.de?Subject=Re:%20sane_get_parameters%20before%20sane_start&In-Reply-To=<3AA402EB.74284BC7@rauch-domain.de>"><EM>oliver.rauch@rauch-domain.de</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Mon Mar 05 2001 - 13:19:39 PST
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0078.html">Simon Heywood: "Re: Canoscan FB630U"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0076.html">Frederik Ramm: "sane_get_parameters before sane_start"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0076.html">Frederik Ramm: "sane_get_parameters before sane_start"</A>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#77">[ date ]</A>
|
|
<A HREF="index.html#77">[ thread ]</A>
|
|
<A HREF="subject.html#77">[ subject ]</A>
|
|
<A HREF="author.html#77">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Frederik Ramm wrote:
|
|
<BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Hi,
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> in the SANE spec it says:
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> > While setting up the device, it is also admissible to call
|
|
</EM><BR>
|
|
<EM>> > sane_get_parameters() to get an estimate of what the image
|
|
</EM><BR>
|
|
<EM>> > parameters will look like once image acquisition begins.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Does that mean in the backend I have to calculate the scan width in
|
|
</EM><BR>
|
|
<EM>> pixels, the bytes per line value, etc. every time the user changes an
|
|
</EM><BR>
|
|
<EM>> option? Until now, I was planning to do these calculations only once,
|
|
</EM><BR>
|
|
<EM>> in sane_start, but that would mean that you'll get meaningless results
|
|
</EM><BR>
|
|
<EM>> from sane_get_parameters() unless sane_start has already been called.
|
|
</EM><BR>
|
|
<P>When sane_start has been called sane_egt_parameters has to return
|
|
<BR>
|
|
exact values. sane_get_parameters can be called befor sane_start
|
|
<BR>
|
|
and in this case the values should be correct too, if they are not exact
|
|
<BR>
|
|
that have to be as close as possible to the correct values.
|
|
<BR>
|
|
<P>Bye
|
|
<BR>
|
|
Oliver
|
|
<BR>
|
|
<P><PRE>
|
|
--
|
|
Homepage: <A HREF="http://www.rauch-domain.de">http://www.rauch-domain.de</A>
|
|
sane-umax: <A HREF="http://www.rauch-domain.de/sane-umax">http://www.rauch-domain.de/sane-umax</A>
|
|
xsane: <A HREF="http://www.xsane.org">http://www.xsane.org</A>
|
|
E-Mail: mailto:<A HREF="mailto:Oliver.Rauch@rauch-domain.de?Subject=Re:%20sane_get_parameters%20before%20sane_start&In-Reply-To=<3AA402EB.74284BC7@rauch-domain.de>">Oliver.Rauch@rauch-domain.de</A>
|
|
<P>--
|
|
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:%20sane_get_parameters%20before%20sane_start&In-Reply-To=<3AA402EB.74284BC7@rauch-domain.de>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0078.html">Simon Heywood: "Re: Canoscan FB630U"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0076.html">Frederik Ramm: "sane_get_parameters before sane_start"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0076.html">Frederik Ramm: "sane_get_parameters before sane_start"</A>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#77">[ date ]</A>
|
|
<A HREF="index.html#77">[ thread ]</A>
|
|
<A HREF="subject.html#77">[ subject ]</A>
|
|
<A HREF="author.html#77">[ 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 Mar 05 2001 - 13:00:18 PST</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|