kopia lustrzana https://gitlab.com/sane-project/website
120 wiersze
6.1 KiB
HTML
120 wiersze
6.1 KiB
HTML
<!-- received="Sat Nov 21 08:57:00 1998 PST" -->
|
||
<!-- sent="Sat, 21 Nov 1998 17:54:19 +0100" -->
|
||
<!-- name="Bernd Schroeder" -->
|
||
<!-- email="bernd@aquila.muc.de" -->
|
||
<!-- subject="Re: Patch for Microtek ScanMaker X6 (microtek2 backend)" -->
|
||
<!-- id="" -->
|
||
<!-- inreplyto="Pine.LNX.3.96.981119232321.25864A-100000@mooch" -->
|
||
<title>sane-devel: Re: Patch for Microtek ScanMaker X6 (microtek2 backend)</title>
|
||
<h1>Re: Patch for Microtek ScanMaker X6 (microtek2 backend)</h1>
|
||
<b>Bernd Schroeder</b> (<a href="mailto:bernd@aquila.muc.de"><i>bernd@aquila.muc.de</i></a>)<br>
|
||
<i>Sat, 21 Nov 1998 17:54:19 +0100</i>
|
||
<p>
|
||
<ul>
|
||
<li> <b>Messages sorted by:</b> <a href="date.html#183">[ date ]</a><a href="index.html#183">[ thread ]</a><a href="subject.html#183">[ subject ]</a><a href="author.html#183">[ author ]</a>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0184.html">David Rose: "Re: News from Minolta"</a>
|
||
<li> <b>Previous message:</b> <a href="0182.html">Bernd Schroeder: "Re: Patch for Microtek ScanMaker X6 (microtek2 backend)"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|
||
<!-- body="start" -->
|
||
Hi,<br>
|
||
<p>
|
||
On Thu, Nov 19, 1998 at 11:57:34PM -0500, Christian Grigis wrote:<br>
|
||
<i>> </i><br>
|
||
<i>> Hello,</i><br>
|
||
<i>> </i><br>
|
||
<i>> On Fri, 20 Nov 1998, Bernd Schroeder wrote:</i><br>
|
||
<i>> </i><br>
|
||
<i>> > On Thu, Nov 19, 1998 at 03:53:49PM +0100, Sebastian Erdmann wrote:</i><br>
|
||
<i>> > > </i><br>
|
||
<i>> > > my Microtek Scanmaker X6 exhibits some strange behavior: After</i><br>
|
||
<i>> > > switching it on, colors (or greyscale tones) are "washed out" and</i><br>
|
||
<i>> > > horizontally unbalanced across the image. This occurs when using</i><br>
|
||
<i>> > > SANE 0.74 as well as SANE pre1.00. A simple workaround is to</i><br>
|
||
<i>> > > power-cycle the scanner (while keeping the computer running).</i><br>
|
||
<i>> > </i><br>
|
||
<i>> > This sounds indeed strange. Normally the scanner should be in reset state </i><br>
|
||
<i>> > after it is switched on. Or are the colors wrong if the scanner is switched</i><br>
|
||
<i>> > on before the system is booted (or the SCSI driver is loaded) ? Then</i><br>
|
||
<i>> > the SCSI driver sends one or more commands to the device, but these</i><br>
|
||
<i>> > commands should not affect the results of a scan.</i><br>
|
||
<i>> </i><br>
|
||
<i>> I just acquired a ScanMaker X6EL, and I noticed the same strange</i><br>
|
||
<i>> behavior: the scanned image is OK after a powercycle, but the following</i><br>
|
||
<i>> scans result in "weird" colors. </i><br>
|
||
<i>> I have not had time to investigate the problem so far, but here is</i><br>
|
||
<i>> some additional info: </i><br>
|
||
<p>
|
||
I think it is not the same problem, it is more or less the other way<br>
|
||
round.<br>
|
||
<p>
|
||
Can you try the following: when the colors are wrong, do a lineart scan,<br>
|
||
and then again a color scan. It would be interesting to know, whether<br>
|
||
the colors are correct again (at least for one scan). Some models<br>
|
||
show this behaviour, and the current workaround is to set up the parameters<br>
|
||
for a B/W scan before every scan and scan one line (or zero lines<br>
|
||
in the next release). This is, what do_dummy_scan() does<br>
|
||
(see the discussion in the other thread).<br>
|
||
<p>
|
||
<i>> The problem seems to happen for 24-bit Color and 8-bit Gray modes.</i><br>
|
||
<i>> 36-bit Color and 12-bit Gray never result in a correct image (is that</i><br>
|
||
<i>> because Gimp does not interpret those color schemes correctly?), and</i><br>
|
||
<i>> LineArt is always correct. </i><br>
|
||
<i>> By the way, 36-bit Color and 12-bit Gray modes seem to be handled</i><br>
|
||
<i>> differently by scanimage and xscanimage: xscanimage does not complain, but</i><br>
|
||
<i>> scanimage gives the following messages, apparently not understanding those</i><br>
|
||
<i>> modes: </i><br>
|
||
<p>
|
||
At present I do not know what scanimage does, but it appears, that it<br>
|
||
indeed doesn't handle more than 8 bits per color. xscanimage has #ifdef's<br>
|
||
in the code. I think, that these #ifdef's mean, that it refuses to scan<br>
|
||
with more than 8 bits, if it is running as a plugin for the gimp, otherwise<br>
|
||
it scans. But apparently it doesn't store this information correctly in<br>
|
||
the image file.<br>
|
||
<p>
|
||
If you do a 12-bit grayscale scan, and change the fourth (?)<br>
|
||
line in the resulting pnm file from 255 to 65535, the image should be<br>
|
||
correctly displayed with xv. xv again reduces the color depth to 8 bits,<br>
|
||
but at least it seems to understand more than 8 bits. To my knowledge<br>
|
||
there are not many applications, that can handle more than 8 bits per color.<br>
|
||
<p>
|
||
<i>> Finally, here is a mini-patch to have the scanner attributes</i><br>
|
||
<i>> display correctly the X6EL model name:</i><br>
|
||
<i>> </i><br>
|
||
<i>> --- microtek2.c.back Thu Nov 19 22:36:26 1998</i><br>
|
||
<i>> +++ microtek2.c Thu Nov 19 22:05:53 1998</i><br>
|
||
<i>> @@ -2235,6 +2235,7 @@</i><br>
|
||
<i>> case 0x92: fprintf(stderr, "E3+ or Vobis Highscan"); break;</i><br>
|
||
<i>> case 0x93: fprintf(stderr, "ScanMaker 330"); break;</i><br>
|
||
<i>> case 0x97: fprintf(stderr, "ScanMaker 636"); break;</i><br>
|
||
<i>> + case 0x98: fprintf(stderr, "ScanMaker X6EL"); break;</i><br>
|
||
<i>> default: fprintf(stderr, "Unknown"); break;</i><br>
|
||
<i>> }</i><br>
|
||
<i>> fprintf(stderr, ")\n");</i><br>
|
||
<p>
|
||
Thanks,<br>
|
||
Bernd<br>
|
||
<p>
|
||
<pre>
|
||
--
|
||
Bernd Schroeder
|
||
Email: <a href="mailto:bernd@aquila.muc.de">mailto:bernd@aquila.muc.de</a>
|
||
PGP public key available: <a href="mailto:pgp@aquila.muc.de">mailto:pgp@aquila.muc.de</a> | Subject: send key
|
||
<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="0184.html">David Rose: "Re: News from Minolta"</a>
|
||
<li> <b>Previous message:</b> <a href="0182.html">Bernd Schroeder: "Re: Patch for Microtek ScanMaker X6 (microtek2 backend)"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|