kopia lustrzana https://gitlab.com/sane-project/website
136 wiersze
5.4 KiB
HTML
136 wiersze
5.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: Epson 610 color output truncated with scanimage</TITLE>
|
|
<META NAME="Author" CONTENT="Kees Lemmens (C.W.J.Lemmens@its.tudelft.nl)">
|
|
<META NAME="Subject" CONTENT="Re: Epson 610 color output truncated with scanimage">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: Epson 610 color output truncated with scanimage</H1>
|
|
<!-- received="Fri Feb 16 13:43:14 2001" -->
|
|
<!-- isoreceived="20010216214314" -->
|
|
<!-- sent="Fri, 16 Feb 2001 22:28:57 +0100" -->
|
|
<!-- isosent="20010216212857" -->
|
|
<!-- name="Kees Lemmens" -->
|
|
<!-- email="C.W.J.Lemmens@its.tudelft.nl" -->
|
|
<!-- subject="Re: Epson 610 color output truncated with scanimage" -->
|
|
<!-- id="01021622493300.00937@giant" -->
|
|
<!-- inreplyto="20010206150353.BECB736E88@specht.khk.net" -->
|
|
<STRONG>From:</STRONG> Kees Lemmens (<A HREF="mailto:C.W.J.Lemmens@its.tudelft.nl?Subject=Re:%20Epson%20610%20color%20output%20truncated%20with%20scanimage&In-Reply-To=<01021622493300.00937@giant>"><EM>C.W.J.Lemmens@its.tudelft.nl</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Fri Feb 16 2001 - 13:28:57 PST
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0165.html">Clark Case: "Experiences with Scan Dual II and SANE"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0163.html">Oliver Neukum: "Re: HP5300C - USB-problems?"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0176.html">Kees Lemmens: "Re: Epson 610 color output truncated with scanimage"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#164">[ date ]</A>
|
|
<A HREF="index.html#164">[ thread ]</A>
|
|
<A HREF="subject.html#164">[ subject ]</A>
|
|
<A HREF="author.html#164">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Hi Karl Heinz and other Epson 610 freaks,
|
|
<BR>
|
|
<P>On Tue, 06 Feb 2001, Karl Heinz wrote:
|
|
<BR>
|
|
<EM>>I have not had time to check this in the source code, but I think
|
|
</EM><BR>
|
|
<EM>>I know what the problem is:
|
|
</EM><BR>
|
|
<EM>>The Perfection610 does not combine the RGB channels in the scanner, it
|
|
</EM><BR>
|
|
<EM>>sends them separately and I have to do this manually. There is a shift
|
|
</EM><BR>
|
|
<EM>>between the color channels that the backends receives (the actual amount
|
|
</EM><BR>
|
|
......
|
|
<BR>
|
|
<P>I now made a dirty fix that works reasonably : I hacked the scanimage frontend
|
|
<BR>
|
|
and let it decrease the height in the PNM header now, but only in case a color
|
|
<BR>
|
|
scan is made. Here is the hack :
|
|
<BR>
|
|
<P>Decrease height parameter in write_pnm_header() function in scanimage.c :
|
|
<BR>
|
|
<P> case SANE_FRAME_BLUE:
|
|
<BR>
|
|
case SANE_FRAME_RGB:
|
|
<BR>
|
|
printf ("P6\n# SANE data follows\n%d %d\n%d\n", width,
|
|
<BR>
|
|
+ #ifdef EPSON610_COLOR_HACK
|
|
<BR>
|
|
+ height - 5, // only enough for 75 and 150 dpi
|
|
<BR>
|
|
+ #else
|
|
<BR>
|
|
height,
|
|
<BR>
|
|
+ #endif
|
|
<BR>
|
|
(depth <= 8) ? 255 : 65535);
|
|
<BR>
|
|
break;
|
|
<BR>
|
|
<P>See what you do with it : probably it can help somebody else as well. Note
|
|
<BR>
|
|
that a decrease with 5 lines is only sufficient for 75 and 150 dpi: for 300 and
|
|
<BR>
|
|
600 dpi it should be more.
|
|
<BR>
|
|
This should be automatically detected and adjusted as well but that is something
|
|
<BR>
|
|
to be done yet.
|
|
<BR>
|
|
<P>Note that the xscanner frontend (based upon the scanimage program) is
|
|
<BR>
|
|
also updated : it is located on the website below.
|
|
<BR>
|
|
<P>bye,
|
|
<BR>
|
|
<PRE>
|
|
--
|
|
Kees Lemmens,
|
|
Email: <A HREF="mailto:C.W.J.Lemmens@its.tudelft.nl?Subject=Re:%20Epson%20610%20color%20output%20truncated%20with%20scanimage&In-Reply-To=<01021622493300.00937@giant>">C.W.J.Lemmens@its.tudelft.nl</A>,
|
|
WWW : <A HREF="http://ta.twi.tudelft.nl/DV/Staff/Lemmens/index.html">http://ta.twi.tudelft.nl/DV/Staff/Lemmens/index.html</A>
|
|
Software: <A HREF="http://ta.twi.tudelft.nl/ftp/dv/lemmens">http://ta.twi.tudelft.nl/ftp/dv/lemmens</A>
|
|
Home : 010-4742919/4740254, Office: 015-2787224, Fax/XOIP: 020-8666099
|
|
<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:%20Epson%20610%20color%20output%20truncated%20with%20scanimage&In-Reply-To=<01021622493300.00937@giant>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0165.html">Clark Case: "Experiences with Scan Dual II and SANE"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0163.html">Oliver Neukum: "Re: HP5300C - USB-problems?"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0176.html">Kees Lemmens: "Re: Epson 610 color output truncated with scanimage"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#164">[ date ]</A>
|
|
<A HREF="index.html#164">[ thread ]</A>
|
|
<A HREF="subject.html#164">[ subject ]</A>
|
|
<A HREF="author.html#164">[ 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>Fri Feb 16 2001 - 13:46:51 PST</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|