sane-project-website/old-archive/2000-07/0125.html

227 wiersze
8.9 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: gimp does it, scanimage doesn't :</TITLE>
<META NAME="Author" CONTENT="Jan Vicherek (honza@ied.com)">
<META NAME="Subject" CONTENT="gimp does it, scanimage doesn't :">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>gimp does it, scanimage doesn't :</H1>
<!-- received="Sun Jul 16 14:05:15 2000" -->
<!-- isoreceived="20000716210515" -->
<!-- sent="Sun, 16 Jul 2000 17:05:34 -0400 (EDT)" -->
<!-- isosent="20000716210534" -->
<!-- name="Jan Vicherek" -->
<!-- email="honza@ied.com" -->
<!-- subject="gimp does it, scanimage doesn't :" -->
<!-- id="Pine.LNX.4.21.0007161403200.1004-100000@ann.ied.com" -->
<STRONG>From:</STRONG> Jan Vicherek (<A HREF="mailto:honza@ied.com?Subject=Re:%20gimp%20does%20it,%20scanimage%20doesn't%20:&In-Reply-To=&lt;Pine.LNX.4.21.0007161403200.1004-100000@ann.ied.com&gt;"><EM>honza@ied.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun Jul 16 2000 - 14:05:34 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0126.html">Oliver Rauch: "Re: Possible sane problem with version 1.0.2 or system"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0124.html">Joachim Heidemeier: "firmware update microtek scanmaker X6 was: poor poor support from Microtek"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#125">[ date ]</A>
<A HREF="index.html#125">[ thread ]</A>
<A HREF="subject.html#125">[ subject ]</A>
<A HREF="author.html#125">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
&nbsp;&nbsp;Hi,
<BR>
<P>&nbsp;&nbsp;I'm a little puzzled; I'm trying to scan some light-gray text on white
<BR>
paper. I can accomplish a particular scan settings with gimp plugin, but
<BR>
not with &quot;scanimage&quot; frontend :
<BR>
<P>&nbsp;ps auxwww | grep scan
<BR>
<P>... /usr/lib/gimp/1.0/plug-ins/xscanimage -gimp 11 9 64 64
<BR>
<P>&nbsp;here I have set the gimp's dialog box to :
<BR>
<P>resolution 300
<BR>
scan speed 1
<BR>
exposure -18
<BR>
brightness -100
<BR>
contrast 49
<BR>
white level 255
<BR>
black level 180
<BR>
midtone 183
<BR>
no gamma
<BR>
... dimensions ...
<BR>
<P>&nbsp;&nbsp;with the above through gimp plugin, things work, I get pretty good
<BR>
results,
<BR>
<P>but when I try to use command line settings, it doesn't seem to help
<BR>
any. This command :
<BR>
<P>scanimage -d net:fred:microtek:/dev/scanner -v --exposure -18 --mode LineArt --resolution 300 -l 0in -t 0in -x 3.49in -y 02.00in --brightness -98 --contrast 48 --white-level 255 --black-level 180 --midtone 183
<BR>
<P>&nbsp;has only little better visual results than this command :
<BR>
<P>scanimage -d net:fred:microtek:/dev/scanner -v --exposure -18 --mode LineArt --resolution 300 -l 0in -t 0in -x 3.49in -y 02.00in
<BR>
<P>&nbsp;&nbsp;both of them are ways away from the gimp plugin results.
<BR>
<P>&nbsp;What can be wrong ? It looks like the command line may be interpretted
<BR>
incorrectly / differently from the gimp's plugin. I.e. although given same
<BR>
user-supplied values, the scanimage frontend may be sending different data
<BR>
to the backend than the gimp plugin.
<BR>
<P>&nbsp;How can I find out what's wrong ? Is there a way to turn on debugging on
<BR>
saned to find out what params it's receiving from either of the frontends
<BR>
? I tried manually starting &quot;/usr/sbin/in.saned -d128&quot;, but no useful
<BR>
debug was forthcoming. Even with &quot;/usr/sbin/in.saned -d&quot; I only got basic
<BR>
debug. (see below)
<BR>
<P><P>&nbsp;&nbsp;my setup :
<BR>
<P>Microtek ScanMaker E3
<BR>
<P>&nbsp;on the client :
<BR>
&nbsp;# rpm -qa | grep sane
<BR>
sane-1.0.2-2mdk
<BR>
&nbsp;$ uname -a
<BR>
Linux darkstar 2.2.14 #3 Tue Jan 11 17:50:01 EST 2000 i586 unknown
<BR>
<P>&nbsp;on the sane server :
<BR>
&nbsp;# rpm -qa | g sane
<BR>
sane-1.0.2-3mdk
<BR>
&nbsp;# cat /etc/sane.d/saned.conf | grep -v '^#'
<BR>
darkstar
<BR>
localhost
<BR>
127.0.0.1
<BR>
<P>&nbsp;# cat /etc/sane.d/microtek.conf
<BR>
# Uncomment following line to disable &quot;real calibration&quot; routines...
<BR>
norealcal
<BR>
# Uncomment following line to disable &quot;clever precalibration&quot; routines...
<BR>
#noprecal
<BR>
# Using &quot;norealcal&quot; will revert backend to pre-0.11.0 calibration code.
<BR>
scsi * * Scanner
<BR>
/dev/scanner
<BR>
<P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TIA,
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Jan
<BR>
<P><P><P><PRE>
--
-- Gospel of Jesus is the saving power of God for all who believe --
## To some, nothing is impossible. ##
<A HREF="http://Vicherek.Waterloo.on.ca/">http://Vicherek.Waterloo.on.ca/</A>
<P><P><P>Jul 16 20:42:06 sane_server saned[4394]: access by saned-user@sane_client accepted
Jul 16 20:42:06 sane_server saned[4394]: process_request: got request 2
Jul 16 20:42:07 sane_server saned[4394]: process_request: got request 4
Jul 16 20:42:07 sane_server saned[4394]: process_request: got request 5
Jul 16 20:42:07 sane_server last message repeated 7 times
Jul 16 20:42:07 sane_server saned[4394]: process_request: got request 4
Jul 16 20:42:07 sane_server saned[4394]: process_request: got request 5
Jul 16 20:42:07 sane_server last message repeated 16 times
Jul 16 20:42:07 sane_server saned[4394]: process_request: got request 7
Jul 16 20:42:07 sane_server saned[4394]: start_scan: using port 1870 for data
Jul 16 20:42:10 sane_server saned[4394]: do_scan: read 8188 bytes from scanner
Jul 16 20:42:10 sane_server saned[4394]: do_scan: processing RPC request on fd 4
Jul 16 20:42:10 sane_server saned[4394]: process_request: got request 6
Jul 16 20:42:10 sane_server saned[4394]: do_scan: wrote 8192 bytes to client
Jul 16 20:42:10 sane_server saned[4394]: do_scan: read 8188 bytes from scanner
Jul 16 20:42:10 sane_server saned[4394]: do_scan: wrote 8192 bytes to client
Jul 16 20:42:10 sane_server saned[4394]: do_scan: read 8188 bytes from scanner
Jul 16 20:42:10 sane_server saned[4394]: do_scan: wrote 8192 bytes to client
Jul 16 20:42:10 sane_server saned[4394]: do_scan: read 8188 bytes from scanner
Jul 16 20:42:10 sane_server saned[4394]: do_scan: wrote 8192 bytes to client
Jul 16 20:42:10 sane_server saned[4394]: do_scan: read 8188 bytes from scanner
Jul 16 20:42:10 sane_server saned[4394]: do_scan: wrote 8192 bytes to client
Jul 16 20:42:10 sane_server saned[4394]: do_scan: read 8188 bytes from scanner
Jul 16 20:42:10 sane_server saned[4394]: do_scan: wrote 8192 bytes to client
Jul 16 20:42:10 sane_server saned[4394]: do_scan: read 8188 bytes from scanner
Jul 16 20:42:10 sane_server saned[4394]: do_scan: wrote 8192 bytes to client
Jul 16 20:42:10 sane_server saned[4394]: do_scan: read 8188 bytes from scanner
Jul 16 20:42:10 sane_server saned[4394]: do_scan: wrote 8192 bytes to client
Jul 16 20:42:10 sane_server saned[4394]: do_scan: read 8188 bytes from scanner
Jul 16 20:42:10 sane_server saned[4394]: do_scan: wrote 8192 bytes to client
Jul 16 20:42:10 sane_server saned[4394]: do_scan: read 4438 bytes from scanner
Jul 16 20:42:10 sane_server saned[4394]: do_scan: wrote 4442 bytes to client
Jul 16 20:42:10 sane_server saned[4394]: do_scan: read 4438 bytes from scanner
Jul 16 20:42:10 sane_server saned[4394]: do_scan: wrote 3750 bytes to client
Jul 16 20:42:10 sane_server saned[4394]: do_scan: wrote 697 bytes to client
Jul 16 20:42:10 sane_server saned[4394]: do_scan: done, status=End of file reached
Jul 16 20:42:10 sane_server saned[4394]: process_request: got request 8
Jul 16 20:42:10 sane_server saned[4394]: process_request: got request 3
Jul 16 20:42:10 sane_server saned[4394]: process_request: got request 10
Jul 16 20:42:10 sane_server saned[4394]: exiting
<P><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:%20gimp%20does%20it,%20scanimage%20doesn't%20:&In-Reply-To=&lt;Pine.LNX.4.21.0007161403200.1004-100000@ann.ied.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0126.html">Oliver Rauch: "Re: Possible sane problem with version 1.0.2 or system"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0124.html">Joachim Heidemeier: "firmware update microtek scanmaker X6 was: poor poor support from Microtek"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#125">[ date ]</A>
<A HREF="index.html#125">[ thread ]</A>
<A HREF="subject.html#125">[ subject ]</A>
<A HREF="author.html#125">[ 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>Sun Jul 16 2000 - 14:07:12 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>