sane-project-website/old-archive/2001-04/0112.html

129 wiersze
5.3 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: [snapscan] High resolution scanning</TITLE>
<META NAME="Author" CONTENT="Oliver Schwartz (Oliver.Schwartz@gmx.de)">
<META NAME="Subject" CONTENT="[snapscan] High resolution scanning">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>[snapscan] High resolution scanning</H1>
<!-- received="Tue Apr 10 15:01:37 2001" -->
<!-- isoreceived="20010410220137" -->
<!-- sent="Tue, 10 Apr 2001 23:25:54 +0200" -->
<!-- isosent="20010410212554" -->
<!-- name="Oliver Schwartz" -->
<!-- email="Oliver.Schwartz@gmx.de" -->
<!-- subject="[snapscan] High resolution scanning" -->
<!-- id="01041023255400.17340@oliverspc" -->
<STRONG>From:</STRONG> Oliver Schwartz (<A HREF="mailto:Oliver.Schwartz@gmx.de?Subject=Re:%20[snapscan]%20High%20resolution%20scanning&In-Reply-To=&lt;01041023255400.17340@oliverspc&gt;"><EM>Oliver.Schwartz@gmx.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Tue Apr 10 2001 - 14:25:54 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0113.html">Karsten Festag: "Re: [dev] New and updated backends"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0111.html">jean-louis Imbert: "Fwd: sane carte NRC53c400a"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0117.html">Rainer Hantsch: "Re: [snapscan] High resolution scanning"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0117.html">Rainer Hantsch: "Re: [snapscan] High resolution scanning"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0119.html">Sebastien Sable: "Re: [snapscan] High resolution scanning"</A>
<LI><STRONG>Reply:</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#112">[ date ]</A>
<A HREF="index.html#112">[ thread ]</A>
<A HREF="subject.html#112">[ subject ]</A>
<A HREF="author.html#112">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>is there anybody out there who's successfully using the snapscan backend with
<BR>
resolutions of 1200 dpi and above? It doesn't work for me, and if I'm not
<BR>
mistaken for no one else either.
<BR>
<P>I looked into this and found that
<BR>
<P>1) x-resolution can only be increased up to the optical resolution. It's
<BR>
possible to request higher resolution from the scanner, but it will only
<BR>
return the image data with maximum resolution padded with junk. On my
<BR>
scanner, which has an optical resolution of 600dpi, this means that for a
<BR>
scan in 1200 dpi I get the scanned data on the left half of the image and
<BR>
junk in the right half of the image. However, it's possible that there are
<BR>
some scanners out there that do an interpolation in their firmware - anybody
<BR>
seen this?
<BR>
<P>2) Performing a scan on a wide scan area with high resolution will lead to a
<BR>
hanging backend, because the size of one image line becomes larger than twice
<BR>
the size of the SCSI buffer. Some computations inside the backend calculate
<BR>
bufferSize/lineSize, which will evaluate to zero - the rest is left to your
<BR>
imagination.
<BR>
<P>The best solution is probably to use different resolutions in x and y
<BR>
dimension. The x resolution may than be increased up to the optical
<BR>
resolution, which avoids problem (2). If a frontend requests a higher
<BR>
resolution the backend can use some decent interpolation algorithm.
<BR>
<P>This will probably take some time to implement. Until then, I suggest to
<BR>
disable the higher resolutions to avoid problems. If however there are
<BR>
scanners with firmware interpolation those resolution settings can be left
<BR>
untouched.
<BR>
<P>Oliver
<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[snapscan]%20High%20resolution%20scanning&In-Reply-To=&lt;01041023255400.17340@oliverspc&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0113.html">Karsten Festag: "Re: [dev] New and updated backends"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0111.html">jean-louis Imbert: "Fwd: sane carte NRC53c400a"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0117.html">Rainer Hantsch: "Re: [snapscan] High resolution scanning"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0117.html">Rainer Hantsch: "Re: [snapscan] High resolution scanning"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0119.html">Sebastien Sable: "Re: [snapscan] High resolution scanning"</A>
<LI><STRONG>Reply:</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#112">[ date ]</A>
<A HREF="index.html#112">[ thread ]</A>
<A HREF="subject.html#112">[ subject ]</A>
<A HREF="author.html#112">[ 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 Apr 10 2001 - 15:03:26 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>