kopia lustrzana https://gitlab.com/sane-project/website
162 wiersze
6.2 KiB
HTML
162 wiersze
6.2 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: [BUG] Epson 1640SU, xsane preview problem</TITLE>
|
||
|
<META NAME="Author" CONTENT="mh (crapsite@gmx.net)">
|
||
|
<META NAME="Subject" CONTENT="Re: [BUG] Epson 1640SU, xsane preview problem">
|
||
|
</HEAD>
|
||
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
||
|
<H1>Re: [BUG] Epson 1640SU, xsane preview problem</H1>
|
||
|
<!-- received="Thu May 24 01:53:13 2001" -->
|
||
|
<!-- isoreceived="20010524085313" -->
|
||
|
<!-- sent="Thu, 24 May 2001 09:46:05 +0200" -->
|
||
|
<!-- isosent="20010524074605" -->
|
||
|
<!-- name="mh" -->
|
||
|
<!-- email="crapsite@gmx.net" -->
|
||
|
<!-- subject="Re: [BUG] Epson 1640SU, xsane preview problem" -->
|
||
|
<!-- id="01052410103500.00606@slowcrap" -->
|
||
|
<!-- inreplyto="3B0C2ECD.7C0C0B4B@rauch-domain.de" -->
|
||
|
<STRONG>From:</STRONG> mh (<A HREF="mailto:crapsite@gmx.net?Subject=Re:%20[BUG]%20Epson%201640SU,%20xsane%20preview%20problem&In-Reply-To=<01052410103500.00606@slowcrap>"><EM>crapsite@gmx.net</EM></A>)<BR>
|
||
|
<STRONG>Date:</STRONG> Thu May 24 2001 - 00:46:05 PDT
|
||
|
<P>
|
||
|
<!-- next="start" -->
|
||
|
<LI><STRONG>Next message:</STRONG> <A HREF="0320.html">Henning Meier-Geinitz: "Re: Canon 620S conf file"</A>
|
||
|
<UL>
|
||
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0318.html">Phil Cummins: "portable scanner recommendations?"</A>
|
||
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0312.html">Oliver Rauch: "Re: [BUG] Epson 1640SU, xsane preview problem"</A>
|
||
|
<!-- nextthread="start" -->
|
||
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0321.html">Oliver Rauch: "Re: [BUG] Epson 1640SU, xsane preview problem"</A>
|
||
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0316.html">Oliver Rauch: "Re: [BUG] Epson 1640SU, xsane preview problem"</A>
|
||
|
<LI><STRONG>Reply:</STRONG> <A HREF="0321.html">Oliver Rauch: "Re: [BUG] Epson 1640SU, xsane preview problem"</A>
|
||
|
<!-- reply="end" -->
|
||
|
<LI><STRONG>Messages sorted by:</STRONG>
|
||
|
<A HREF="date.html#319">[ date ]</A>
|
||
|
<A HREF="index.html#319">[ thread ]</A>
|
||
|
<A HREF="subject.html#319">[ subject ]</A>
|
||
|
<A HREF="author.html#319">[ author ]</A>
|
||
|
</UL>
|
||
|
<HR NOSHADE><P>
|
||
|
<!-- body="start" -->
|
||
|
<P>
|
||
|
Oliver Rauch, Mit, 23 Mai 2001 :
|
||
|
<BR>
|
||
|
<EM>> Jean-Luc Coulon wrote:
|
||
|
</EM><BR>
|
||
|
<EM>>
|
||
|
</EM><BR>
|
||
|
<EM>> > 1 - If I do a preview with the paper size set to "full size", all is
|
||
|
</EM><BR>
|
||
|
<EM>> > right :
|
||
|
</EM><BR>
|
||
|
<EM>> > all the pictures dislayed in the preview window are correct in regard of
|
||
|
</EM><BR>
|
||
|
<EM>> > the position of the document on the bed.
|
||
|
</EM><BR>
|
||
|
<P><EM>> > 2 - If now, I switch to an other document size (i.e. DIN A4 port.), the
|
||
|
</EM><BR>
|
||
|
<EM>> > first preview is ok and the following ones are not : if I move the
|
||
|
</EM><BR>
|
||
|
<EM>> > document, the displayed picture is always the one of the first preview.
|
||
|
</EM><BR>
|
||
|
<EM>> > In this case, while the head is moving, the picture appears correctly
|
||
|
</EM><BR>
|
||
|
<EM>> > and jump to the previous place when the scanner head go back to its rest
|
||
|
</EM><BR>
|
||
|
<EM>> > position.
|
||
|
</EM><BR>
|
||
|
<EM>>
|
||
|
</EM><BR>
|
||
|
<EM>> I suggest you enable debug output:
|
||
|
</EM><BR>
|
||
|
<EM>> export XSANE_DEBUG=20
|
||
|
</EM><BR>
|
||
|
<EM>> export SANE_DEBUG_EPSON=128
|
||
|
</EM><BR>
|
||
|
<EM>> and try to find out what happens.
|
||
|
</EM><BR>
|
||
|
<P>Hi Oliver,
|
||
|
<BR>
|
||
|
just to let you know, I can reproduce this with the plustek backend too.
|
||
|
<BR>
|
||
|
I was browsing through your code this morning, and I think, that the following
|
||
|
<BR>
|
||
|
looks suspect:
|
||
|
<BR>
|
||
|
In xsane-preview.c (around line 2175/ version 0.76)
|
||
|
<BR>
|
||
|
/* See whether there is a saved preview and load it if present: */
|
||
|
<BR>
|
||
|
for(level = 2; level >= 0; level--)
|
||
|
<BR>
|
||
|
{
|
||
|
<BR>
|
||
|
//Problem:
|
||
|
<BR>
|
||
|
//If you did a fullsize scan and afterwards e.g. an A5 scan,
|
||
|
<BR>
|
||
|
//p->filename[0] holds a valid filename (== the name of the
|
||
|
<BR>
|
||
|
//fullsize preview); therefore the for loop will always count down
|
||
|
<BR>
|
||
|
//to 0 and the fullsize preview is reloaded.
|
||
|
<BR>
|
||
|
if (p->filename[level])
|
||
|
<BR>
|
||
|
{
|
||
|
<BR>
|
||
|
in = fopen(p->filename[level], "rb"); /* read binary (b for win32) */
|
||
|
<BR>
|
||
|
if (in)
|
||
|
<BR>
|
||
|
{
|
||
|
<BR>
|
||
|
quality = preview_restore_image_from_file(p, in, quality);
|
||
|
<BR>
|
||
|
fclose(in);
|
||
|
<BR>
|
||
|
}
|
||
|
<BR>
|
||
|
}
|
||
|
<BR>
|
||
|
}
|
||
|
<BR>
|
||
|
<P>I don't know, whether this is correct, but may be you can take a look at it.
|
||
|
<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:%20[BUG]%20Epson%201640SU,%20xsane%20preview%20problem&In-Reply-To=<01052410103500.00606@slowcrap>">majordomo@mostang.com</A>
|
||
|
</PRE>
|
||
|
<P><!-- body="end" -->
|
||
|
<HR NOSHADE>
|
||
|
<UL>
|
||
|
<!-- next="start" -->
|
||
|
<LI><STRONG>Next message:</STRONG> <A HREF="0320.html">Henning Meier-Geinitz: "Re: Canon 620S conf file"</A>
|
||
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0318.html">Phil Cummins: "portable scanner recommendations?"</A>
|
||
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0312.html">Oliver Rauch: "Re: [BUG] Epson 1640SU, xsane preview problem"</A>
|
||
|
<!-- nextthread="start" -->
|
||
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0321.html">Oliver Rauch: "Re: [BUG] Epson 1640SU, xsane preview problem"</A>
|
||
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0316.html">Oliver Rauch: "Re: [BUG] Epson 1640SU, xsane preview problem"</A>
|
||
|
<LI><STRONG>Reply:</STRONG> <A HREF="0321.html">Oliver Rauch: "Re: [BUG] Epson 1640SU, xsane preview problem"</A>
|
||
|
<!-- reply="end" -->
|
||
|
<LI><STRONG>Messages sorted by:</STRONG>
|
||
|
<A HREF="date.html#319">[ date ]</A>
|
||
|
<A HREF="index.html#319">[ thread ]</A>
|
||
|
<A HREF="subject.html#319">[ subject ]</A>
|
||
|
<A HREF="author.html#319">[ 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 May 24 2001 - 01:55:19 PDT</EM>
|
||
|
</EM>
|
||
|
</SMALL>
|
||
|
</BODY>
|
||
|
</HTML>
|