sane-project-website/old-archive/1999-07/0050.html

105 wiersze
4.5 KiB
HTML

<!-- received="Fri Jul 9 02:17:44 1999 PDT" -->
<!-- sent="Fri, 9 Jul 1999 11:21:12 +0200" -->
<!-- name="Roland Genske" -->
<!-- email="rhg@msede.com" -->
<!-- subject="Microtek Problems" -->
<!-- id="199907090921.LAA08834@e35.msede.com" -->
<!-- inreplyto="" -->
<title>sane-devel: Microtek Problems</title>
<h1>Microtek Problems</h1>
<b>Roland Genske</b> (<a href="mailto:rhg@msede.com"><i>rhg@msede.com</i></a>)<br>
<i>Fri, 9 Jul 1999 11:21:12 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#50">[ date ]</a><a href="index.html#50">[ thread ]</a><a href="subject.html#50">[ subject ]</a><a href="author.html#50">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0051.html">Kevin Charter: "SnapScan 0.7"</a>
<li> <b>Previous message:</b> <a href="0049.html">Mike Harris: "Microtek ScanMaker IV on Linux-2.2.10 (Redhat 6.0)"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hello,<br>
<p>
whily trying to solve my previous problems with the microtec backend<br>
of SANE 0.73 (concerning the analog gamma correction) I upgraded to<br>
SANE 1.0. With this version I get the following error message:<br>
<p>
scanimage -v -d microtek:/dev/scanner -l 0 -t 0 -x 210 -y 297<br>
--resolution 120 --brightness 0 --contrast 45 --exposure 1<br>
--black-level 20 --midtone 128 --white-level 255<br>
<p>
scanimage: rounded value of contrast from 45 to 42 <br>
scanimage: rounded value of exposure from 1 to 0 <br>
scanimage: scanning image of size 992x1403 pixels at 24 bits/pixel <br>
scanimage: acquiring RGB frame <br>
scanimage: min/max graylevel value = 255/0 <br>
scanimage: sane_read: Out of memory<br>
<p>
Does anybody know about this? I installed it on a SuSE Linux 5.3 with<br>
kernel 2.0.35 and libc.so.5.4.46. When this process is run there are<br>
more than 30MB free RAM and 200MB free swap.<br>
<p>
After switching back to SANE 0.73 the same command works fine.<br>
<p>
Thank you for your help.<br>
<p>
Concerning the previous problem with analog gamma correction: I try to<br>
work-around it using the pnmgamma utility to apply the gamma correction<br>
after the scan was done. The problem is that the system is far away,<br>
it is part of a product scanning system with a web interface to operate<br>
the scanner. The scanning process is done automatically by means of a<br>
cgi script. I have only remote access to this system so it's difficult<br>
to make extensive experiments with the scanner. The system was set-up with<br>
the mtekscan utility and worked fine at our lab, but after delivering it<br>
to our client there were problems with mtekscan which too often crashed the<br>
system so I decided to switch-over to SANE.<br>
<p>
For your reference, here is the previous problem once again. I evaluated<br>
the source code of the microtec backend and in my opinion the analog gamma<br>
correction should be possible. There seems to be some quirk concerning the<br>
command-line option evaluation which comes to the conclusion that my<br>
command-line options are used in the wrong combination, but I don't see<br>
what's wrong with it.<br>
<p>
Maybe, if I post it here once again, there is anybody who can help me<br>
on this, too:<br>
<p>
scanimage -l 0 -t 0 -x 210 -y 297 --resolution 120 --brightness 0<br>
--contrast 45 --exposure 1 --black-level 20 --midtone 128 --white-level 255<br>
--gamma-mode Scalar --analog-gamma-r 2.6 --analog-gamma-g 2.8 --analog-gamma-b 2<br>
<p>
scanimage aborts with the following message:<br>
<p>
scanimage: attempted to set inactive option analog-gamma-r<br>
<p>
Scanner: Microtek E6<br>
SANE versions 0.73 and 1.0<br>
OS: Linux 2.0.35 libc.so.5.4.46<br>
<p>
<p>
Regards,<br>
Roland Genske<br>
<pre>
--
Roland Genske Marxmeier Software GmbH
E-Mail: <a href="mailto:rhg@marxmeier.com">rhg@marxmeier.com</a> Besenbruchstrasse 9
Voice : +49 202 2431413 42285 Wuppertal, Germany
Fax : +49 202 2431420 <a href="http://www.marxmeier.com">http://www.marxmeier.com</a>
<p>
<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">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0051.html">Kevin Charter: "SnapScan 0.7"</a>
<li> <b>Previous message:</b> <a href="0049.html">Mike Harris: "Microtek ScanMaker IV on Linux-2.2.10 (Redhat 6.0)"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>