kopia lustrzana https://gitlab.com/sane-project/website
179 wiersze
9.4 KiB
HTML
179 wiersze
9.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: [snapscan] High resolution scanning</TITLE>
|
||
<META NAME="Author" CONTENT="Sebastien Sable (Sebastien.Sable@snv.jussieu.fr)">
|
||
<META NAME="Subject" CONTENT="Re: [snapscan] High resolution scanning">
|
||
</HEAD>
|
||
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
||
<H1>Re: [snapscan] High resolution scanning</H1>
|
||
<!-- received="Wed Apr 11 02:57:56 2001" -->
|
||
<!-- isoreceived="20010411095756" -->
|
||
<!-- sent="11 Apr 2001 11:44:59 +0200" -->
|
||
<!-- isosent="20010411094459" -->
|
||
<!-- name="Sebastien Sable" -->
|
||
<!-- email="Sebastien.Sable@snv.jussieu.fr" -->
|
||
<!-- subject="Re: [snapscan] High resolution scanning" -->
|
||
<!-- id="87lmp7u5wk.fsf@incubus.snv.jussieu.fr" -->
|
||
<!-- inreplyto="01041023255400.17340@oliverspc" -->
|
||
<STRONG>From:</STRONG> Sebastien Sable (<A HREF="mailto:Sebastien.Sable@snv.jussieu.fr?Subject=Re:%20[snapscan]%20High%20resolution%20scanning&In-Reply-To=<87lmp7u5wk.fsf@incubus.snv.jussieu.fr>"><EM>Sebastien.Sable@snv.jussieu.fr</EM></A>)<BR>
|
||
<STRONG>Date:</STRONG> Wed Apr 11 2001 - 02:44:59 PDT
|
||
<P>
|
||
<!-- next="start" -->
|
||
<LI><STRONG>Next message:</STRONG> <A HREF="0120.html">Oliver Schwartz: "Re: [snapscan] High resolution scanning"</A>
|
||
<UL>
|
||
<LI><STRONG>Previous message:</STRONG> <A HREF="0118.html">Oliver Schwartz: "Re: [snapscan] sane/xscanimage transparency support"</A>
|
||
<LI><STRONG>In reply to:</STRONG> <A HREF="0112.html">Oliver Schwartz: "[snapscan] High resolution scanning"</A>
|
||
<!-- nextthread="start" -->
|
||
<LI><STRONG>Next in thread:</STRONG> <A HREF="0120.html">Oliver Schwartz: "Re: [snapscan] High resolution scanning"</A>
|
||
<!-- reply="end" -->
|
||
<LI><STRONG>Messages sorted by:</STRONG>
|
||
<A HREF="date.html#119">[ date ]</A>
|
||
<A HREF="index.html#119">[ thread ]</A>
|
||
<A HREF="subject.html#119">[ subject ]</A>
|
||
<A HREF="author.html#119">[ author ]</A>
|
||
</UL>
|
||
<HR NOSHADE><P>
|
||
<!-- body="start" -->
|
||
<P>
|
||
Oliver Schwartz <<A HREF="mailto:Oliver.Schwartz@gmx.de?Subject=Re:%20[snapscan]%20High%20resolution%20scanning&In-Reply-To=<87lmp7u5wk.fsf@incubus.snv.jussieu.fr>">Oliver.Schwartz@gmx.de</A>> writes:
|
||
<BR>
|
||
<P><EM>> 1) x-resolution can only be increased up to the optical resolution. It's
|
||
</EM><BR>
|
||
<EM>> possible to request higher resolution from the scanner, but it will only
|
||
</EM><BR>
|
||
<EM>> return the image data with maximum resolution padded with junk. On my
|
||
</EM><BR>
|
||
<EM>> scanner, which has an optical resolution of 600dpi, this means that for a
|
||
</EM><BR>
|
||
<EM>> scan in 1200 dpi I get the scanned data on the left half of the image and
|
||
</EM><BR>
|
||
<EM>> junk in the right half of the image. However, it's possible that there are
|
||
</EM><BR>
|
||
<EM>> some scanners out there that do an interpolation in their firmware - anybody
|
||
</EM><BR>
|
||
<EM>> seen this?
|
||
</EM><BR>
|
||
<P>I had the same thing with my Acer 300F when switching to 600dpi (that
|
||
<BR>
|
||
is half of the picture is junk) and the optical resolution is 300dpi.
|
||
<BR>
|
||
<P><EM>> 2) Performing a scan on a wide scan area with high resolution will lead to a
|
||
</EM><BR>
|
||
<EM>> hanging backend, because the size of one image line becomes larger than twice
|
||
</EM><BR>
|
||
<EM>> the size of the SCSI buffer. Some computations inside the backend calculate
|
||
</EM><BR>
|
||
<EM>> bufferSize/lineSize, which will evaluate to zero - the rest is left to your
|
||
</EM><BR>
|
||
<EM>> imagination.
|
||
</EM><BR>
|
||
<P>I am not sure but I think this one has been corrected for some
|
||
<BR>
|
||
models. My scanner used to hang with higher resolutions and this code
|
||
<BR>
|
||
corrected this:
|
||
<BR>
|
||
<P>in snapscan-sources:
|
||
<BR>
|
||
<P> if(ps->pss->pdev->model == ACER300F
|
||
<BR>
|
||
||
|
||
<BR>
|
||
ps->pss->pdev->model == SNAPSCAN310
|
||
<BR>
|
||
||
|
||
<BR>
|
||
ps->pss->pdev->model == SNAPSCAN1212U
|
||
<BR>
|
||
||
|
||
<BR>
|
||
ps->pss->pdev->model == SNAPSCAN1236S
|
||
<BR>
|
||
||
|
||
<BR>
|
||
ps->pss->pdev->model == SNAPSCANE50
|
||
<BR>
|
||
||
|
||
<BR>
|
||
ps->pss->pdev->model == VUEGO310S
|
||
<BR>
|
||
||
|
||
<BR>
|
||
ps->pss->pdev->model == VUEGO610S)
|
||
<BR>
|
||
{
|
||
<BR>
|
||
ps->pss->expected_read_bytes = (size_t) ps->absolute_max;
|
||
<BR>
|
||
}
|
||
<BR>
|
||
if (ps->pss->expected_read_bytes == 0)
|
||
<BR>
|
||
{
|
||
<BR>
|
||
if (!warned_expected_bytes)
|
||
<BR>
|
||
{
|
||
<BR>
|
||
warned_expected_bytes++;
|
||
<BR>
|
||
<P> DBG (DL_MAJOR_ERROR,
|
||
<BR>
|
||
"%s: Hung up because expected bytes is 0. Please report!",
|
||
<BR>
|
||
__FUNCTION__);
|
||
<BR>
|
||
}
|
||
<BR>
|
||
<P> }
|
||
<BR>
|
||
<P>Maybe adding your model there would correct it. In this case, it seems
|
||
<BR>
|
||
that we should just remove the if test and put that as default
|
||
<BR>
|
||
behavior.
|
||
<BR>
|
||
<P>I will release an new version of snapscan today (if sourceforge works
|
||
<BR>
|
||
that is, it was broken for upload yesterday) with support for e20, e40
|
||
<BR>
|
||
and e50 and your patch for xsane crash.
|
||
<BR>
|
||
<P><PRE>
|
||
--
|
||
S<EFBFBD>bastien Sabl<62> <<A HREF="mailto:Sebastien.Sable@snv.jussieu.fr?Subject=Re:%20[snapscan]%20High%20resolution%20scanning&In-Reply-To=<87lmp7u5wk.fsf@incubus.snv.jussieu.fr>">Sebastien.Sable@snv.jussieu.fr</A>>
|
||
<A HREF="http://inova.snv.jussieu.fr/~sable/">http://inova.snv.jussieu.fr/~sable/</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:%20[snapscan]%20High%20resolution%20scanning&In-Reply-To=<87lmp7u5wk.fsf@incubus.snv.jussieu.fr>">majordomo@mostang.com</A>
|
||
</PRE>
|
||
<P><!-- body="end" -->
|
||
<HR NOSHADE>
|
||
<UL>
|
||
<!-- next="start" -->
|
||
<LI><STRONG>Next message:</STRONG> <A HREF="0120.html">Oliver Schwartz: "Re: [snapscan] High resolution scanning"</A>
|
||
<LI><STRONG>Previous message:</STRONG> <A HREF="0118.html">Oliver Schwartz: "Re: [snapscan] sane/xscanimage transparency support"</A>
|
||
<LI><STRONG>In reply to:</STRONG> <A HREF="0112.html">Oliver Schwartz: "[snapscan] High resolution scanning"</A>
|
||
<!-- nextthread="start" -->
|
||
<LI><STRONG>Next in thread:</STRONG> <A HREF="0120.html">Oliver Schwartz: "Re: [snapscan] High resolution scanning"</A>
|
||
<!-- reply="end" -->
|
||
<LI><STRONG>Messages sorted by:</STRONG>
|
||
<A HREF="date.html#119">[ date ]</A>
|
||
<A HREF="index.html#119">[ thread ]</A>
|
||
<A HREF="subject.html#119">[ subject ]</A>
|
||
<A HREF="author.html#119">[ 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>Wed Apr 11 2001 - 02:58:47 PDT</EM>
|
||
</EM>
|
||
</SMALL>
|
||
</BODY>
|
||
</HTML>
|