sane-project-website/old-archive/2001-05/0295.html

202 wiersze
7.0 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: Problems with Prisa 620S [snapscan] + BUG in xs</TITLE>
<META NAME="Author" CONTENT="Ben Stanley (bds02@uow.edu.au)">
<META NAME="Subject" CONTENT="Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76</H1>
<!-- received="Tue May 22 15:56:07 2001" -->
<!-- isoreceived="20010522225607" -->
<!-- sent="Wed, 23 May 2001 08:56:52 +1000" -->
<!-- isosent="20010522225652" -->
<!-- name="Ben Stanley" -->
<!-- email="bds02@uow.edu.au" -->
<!-- subject="Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76" -->
<!-- id="3B0AEEB4.2030603@uow.edu.au" -->
<!-- inreplyto="3B0A9237.63375F02@rauch-domain.de" -->
<STRONG>From:</STRONG> Ben Stanley (<A HREF="mailto:bds02@uow.edu.au?Subject=Re:%20Problems%20with%20Prisa%20620S%20[snapscan]%20%2B%20BUG%20in%20xsane%200.76&In-Reply-To=&lt;3B0AEEB4.2030603@uow.edu.au&gt;"><EM>bds02@uow.edu.au</EM></A>)<BR>
<STRONG>Date:</STRONG> Tue May 22 2001 - 15:56:52 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0296.html">Mick Barry: "Re: Q: windows port"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0294.html">Ben Stanley: "Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0287.html">Oliver Rauch: "Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0307.html">Oliver Rauch: "Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0288.html">Oliver Rauch: "Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0307.html">Oliver Rauch: "Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#295">[ date ]</A>
<A HREF="index.html#295">[ thread ]</A>
<A HREF="subject.html#295">[ subject ]</A>
<A HREF="author.html#295">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Oliver Rauch wrote:
<BR>
<P><EM>&gt;Ben Stanley wrote:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;&gt;SANE_DEBUG_SNAPSCAN=255 ./saned -d255
</EM><BR>
<EM>&gt;&gt;
</EM><BR>
<EM>&gt;&gt;and redirecting the output. I checked the size inquiry before the scan
</EM><BR>
<EM>&gt;&gt;data was read, and from the get_parameters call which occurs just after
</EM><BR>
<EM>&gt;&gt;the scan started. It seems that these two are not returning the same
</EM><BR>
<EM>&gt;&gt;number of lines. should they be? I can post log output if you want.
</EM><BR>
<EM>&gt;&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;Hi Ben,
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;I took a short look at the snapscan source. There are two things:
</EM><BR>
<EM>&gt;1) I can find out from which time the scanning related values
</EM><BR>
<EM>&gt;are set (not the guessed ones)
</EM><BR>
<EM>&gt;2) it is possible (looks a bit like that) the the backend does
</EM><BR>
<EM>&gt;not respond the complete lines in param.lines but the
</EM><BR>
<EM>&gt;remainig lines until the end of the scan. That would be a big bug.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;Can you find out about that, e.g. by adding a call to
</EM><BR>
<EM>&gt;sane_get_parameters in xsane after sane_read ?!
</EM><BR>
<EM>&gt;
</EM><BR>
Here you go:
<BR>
<P>[xsane] preview_scan_start
<BR>
[xsane] xsane_clear_histogram
<BR>
[xsane] xsane_clear_histogram
<BR>
[xsane] xsane_set_sensitivity
<BR>
[xsane] preview_expose_event_handler_start
<BR>
[xsane] preview_draw_selection
<BR>
[xsane] preview_expose_event_handler_end
<BR>
[xsane] preview_draw_selection
<BR>
[xsane] preview_draw_rect [0.75 0.75 211.23 122.96]
<BR>
[xsane] preview_transform_coordinates_device_to_window
<BR>
[xsane] preview_get_scale_device_to_window: scale = 1.300926, 1.300926
<BR>
[xsane] preview[0.75 0.75 211.23 122.96] -&gt; window[0.98 0.98 274.79 159.97]
<BR>
[xsane] preview_get_memory
<BR>
[xsane] preview_read_image_data
<BR>
[xsane] scan lines after sane_read: 843.[xsane] scan width after
<BR>
sane_read: 637.[xsane] preview_increment_image_y
<BR>
[xsane] preview_increment_image_y
<BR>
[xsane] preview_increment_image_y
<BR>
[xsane] preview_increment_image_y
<BR>
[xsane] scan lines after sane_read: 838.[xsane] scan width after
<BR>
sane_read: 637.[xsane] preview_increment_image_y
<BR>
[xsane] preview_increment_image_y
<BR>
[xsane] preview_increment_image_y
<BR>
[xsane] preview_increment_image_y
<BR>
[xsane] scan lines after sane_read: 834.[xsane] scan width after
<BR>
sane_read: 637.[xsane] preview_increment_image_y
<BR>
[xsane] preview_increment_image_y
<BR>
[xsane] preview_increment_image_y
<BR>
[xsane] preview_increment_image_y
<BR>
[xsane] scan lines after sane_read: 830.[xsane] scan width after
<BR>
sane_read: 637.[xsane] preview_increment_image_y
<BR>
[xsane] preview_increment_image_y
<BR>
[xsane] preview_increment_image_y
<BR>
[xsane] preview_increment_image_y
<BR>
[xsane] preview_increment_image_y
<BR>
<P>Looks like your theory is confirmed. Not sure I know what to do about it
<BR>
yet... I mean, I know the backend has to be fixed, but I'm not in a
<BR>
position to be able to do it yet :-).
<BR>
<P>Ben.
<BR>
<P><P><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:%20Problems%20with%20Prisa%20620S%20[snapscan]%20%2B%20BUG%20in%20xsane%200.76&In-Reply-To=&lt;3B0AEEB4.2030603@uow.edu.au&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0296.html">Mick Barry: "Re: Q: windows port"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0294.html">Ben Stanley: "Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0287.html">Oliver Rauch: "Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0307.html">Oliver Rauch: "Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0288.html">Oliver Rauch: "Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0307.html">Oliver Rauch: "Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#295">[ date ]</A>
<A HREF="index.html#295">[ thread ]</A>
<A HREF="subject.html#295">[ subject ]</A>
<A HREF="author.html#295">[ 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 May 22 2001 - 15:56:52 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>