kopia lustrzana https://gitlab.com/sane-project/website
193 wiersze
8.0 KiB
HTML
193 wiersze
8.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: Xsane-0.55: scan resolution selection (Epson 12</TITLE>
|
|
<META NAME="Author" CONTENT="Dave Hill (dave@minnie.demon.co.uk)">
|
|
<META NAME="Subject" CONTENT="Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)</H1>
|
|
<!-- received="Sat Feb 19 22:01:24 2000" -->
|
|
<!-- isoreceived="20000220060124" -->
|
|
<!-- sent="Sat, 19 Feb 2000 18:38:31 +0000" -->
|
|
<!-- isosent="20000219183831" -->
|
|
<!-- name="Dave Hill" -->
|
|
<!-- email="dave@minnie.demon.co.uk" -->
|
|
<!-- subject="Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)" -->
|
|
<!-- id="38AEE327.3F1CD802@minnie.demon.co.uk" -->
|
|
<!-- inreplyto="20000219110151.A6953@khk.net" -->
|
|
<STRONG>From:</STRONG> Dave Hill (<A HREF="mailto:dave@minnie.demon.co.uk?Subject=Re:%20Xsane-0.55:%20scan%20resolution%20selection%20(Epson%201200S,%20CVS%20Sane)&In-Reply-To=<38AEE327.3F1CD802@minnie.demon.co.uk>"><EM>dave@minnie.demon.co.uk</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Sat Feb 19 2000 - 10:38:31 PST
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0234.html">Peter Kirchgessner: "Re: HP scanjet 6200C horizontal banding in color"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0232.html">Petter Reinholdtsen: "Re: New CVS snapshot 20000213"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0222.html">Karl Heinz Kremer: "Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0239.html">Karl Heinz Kremer: "Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0239.html">Karl Heinz Kremer: "Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0244.html">Oliver Rauch: "Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#233">[ date ]</A>
|
|
<A HREF="index.html#233">[ thread ]</A>
|
|
<A HREF="subject.html#233">[ subject ]</A>
|
|
<A HREF="author.html#233">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Karl Heinz Kremer wrote:
|
|
<BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> On Sat, Feb 19, 2000 at 01:23:49PM +0100, Oliver Rauch wrote:
|
|
</EM><BR>
|
|
<EM>> > Hello Karl Heinz,
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > the sane standard defines only one "resolution" as well known option.
|
|
</EM><BR>
|
|
<EM>> > It does not make sense to have a "preview resolution" option because
|
|
</EM><BR>
|
|
<EM>> > the frontend has to set the correct resolution in each case and like defined
|
|
</EM><BR>
|
|
<EM>> > in the standard xscanimage and xsane do set the option "resolution".
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > If the preview resolution option is removed from the epson backend
|
|
</EM><BR>
|
|
<EM>> > everything will work fine.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> OK, so let me see if I understand this correctly: I don't have to set
|
|
</EM><BR>
|
|
<EM>> the preview resolution in the backend, this is done in the frontend.
|
|
</EM><BR>
|
|
<EM>> Therefore it does not make sense to have a "preview resolution" selection.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> If this assumtion is correct I can remove the preview resolution.
|
|
</EM><BR>
|
|
<EM>> I do however doubt that "everything will work fine" after I remove
|
|
</EM><BR>
|
|
<EM>> that option. You still don't know which resolutions are supported
|
|
</EM><BR>
|
|
<EM>> by the scanner if I implement the resolution option as a range vs.
|
|
</EM><BR>
|
|
<EM>> as a list. So the resolution list will still display a "synthetic"
|
|
</EM><BR>
|
|
<EM>> set of resolutions.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<P>The "preview resolution" was added by Christian I think. I never
|
|
<BR>
|
|
did work out the reason why.
|
|
<BR>
|
|
<P>If you have no preview resolution, xsane will pick a suitable
|
|
<BR>
|
|
resolution depending on the area you want to scan, i.e. as you
|
|
<BR>
|
|
zoom in, the preview gets more detailed. This is what you normally
|
|
<BR>
|
|
want!
|
|
<BR>
|
|
<P>With the preview resolution setting, you have to increase the
|
|
<BR>
|
|
resolution by hand if you want to see detail when you zoom in,
|
|
<BR>
|
|
but if you forget to reset it and try and do a full-page preview,
|
|
<BR>
|
|
xsane runs out of memory, tries to abort the scan and the scanner
|
|
<BR>
|
|
locks up (power cycle required).
|
|
<BR>
|
|
<P>I don't know what xscanimage does though, I haven't checked. It
|
|
<BR>
|
|
probably does the same thing.
|
|
<BR>
|
|
<P>You are correct that xsane "manufactures" the resolution list, it
|
|
<BR>
|
|
has no idea what resolutions are actually supported by the backend,
|
|
<BR>
|
|
only the "min", "max" and "quant" values returned. The epson backend
|
|
<BR>
|
|
sets "quant" to zero, which (I think) means "any resolution will do",
|
|
<BR>
|
|
so xsane happily makes up a list!
|
|
<BR>
|
|
<P>In fact, the scanner *will* do any resolution you want, not just
|
|
<BR>
|
|
the ones it tells you about (at least my GT7000 does, the book says
|
|
<BR>
|
|
"50 to 4800 in 1 DPI increments, plus 7200 & 9600 with zoom").
|
|
<BR>
|
|
This is why I queried Christian's extra code for clamping the
|
|
<BR>
|
|
resolution to one of the scanner's values a while ago.
|
|
<BR>
|
|
<P>There is an alternative, instead of returning "min", "max" and "quant",
|
|
<BR>
|
|
you can return the actual list instead, changing the type from
|
|
<BR>
|
|
CONSTRAINT_LIST to WORD_LIST. See the agfafocus backend for more
|
|
<BR>
|
|
on this. Xsane has code to handle this case as well as the
|
|
<BR>
|
|
CONSTRAINT_LIST version, so I assume that it will display the
|
|
<BR>
|
|
correct resolution list (although the code says > 50, so 50 DPI
|
|
<BR>
|
|
isn't included(!), and you only get 20 items max). Could be worth
|
|
<BR>
|
|
an #ifdef in the backend to try it.
|
|
<BR>
|
|
<P>Sorry, I'm rambling... I hope that's right!
|
|
<BR>
|
|
<P>Dave
|
|
<BR>
|
|
<P><PRE>
|
|
--
|
|
Dave Hill, Kempston, Bedford UK <A HREF="mailto:dave@minnie.demon.co.uk?Subject=Re:%20Xsane-0.55:%20scan%20resolution%20selection%20(Epson%201200S,%20CVS%20Sane)&In-Reply-To=<38AEE327.3F1CD802@minnie.demon.co.uk>">dave@minnie.demon.co.uk</A>
|
|
Sicth munce ago, I cutn't evun spel enjuneer, and now I are one!
|
|
<P><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:%20Xsane-0.55:%20scan%20resolution%20selection%20(Epson%201200S,%20CVS%20Sane)&In-Reply-To=<38AEE327.3F1CD802@minnie.demon.co.uk>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0234.html">Peter Kirchgessner: "Re: HP scanjet 6200C horizontal banding in color"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0232.html">Petter Reinholdtsen: "Re: New CVS snapshot 20000213"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0222.html">Karl Heinz Kremer: "Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0239.html">Karl Heinz Kremer: "Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0239.html">Karl Heinz Kremer: "Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0244.html">Oliver Rauch: "Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#233">[ date ]</A>
|
|
<A HREF="index.html#233">[ thread ]</A>
|
|
<A HREF="subject.html#233">[ subject ]</A>
|
|
<A HREF="author.html#233">[ 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>Sat Feb 19 2000 - 22:04:40 PST</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|