kopia lustrzana https://gitlab.com/sane-project/website
73 wiersze
3.0 KiB
HTML
73 wiersze
3.0 KiB
HTML
<!-- received="Tue Oct 19 00:53:01 1999 PDT" -->
|
||
<!-- sent="Tue, 19 Oct 1999 09:29:54 +0200" -->
|
||
<!-- name="Robert Schwebel" -->
|
||
<!-- email="robert@schwebel.de" -->
|
||
<!-- subject="Re: 16 bit images" -->
|
||
<!-- id="" -->
|
||
<!-- inreplyto="16 bit images" -->
|
||
<title>sane-devel: Re: 16 bit images</title>
|
||
<h1>Re: 16 bit images</h1>
|
||
<b>Robert Schwebel</b> (<a href="mailto:robert@schwebel.de"><i>robert@schwebel.de</i></a>)<br>
|
||
<i>Tue, 19 Oct 1999 09:29:54 +0200</i>
|
||
<p>
|
||
<ul>
|
||
<li> <b>Messages sorted by:</b> <a href="date.html#146">[ date ]</a><a href="index.html#146">[ thread ]</a><a href="subject.html#146">[ subject ]</a><a href="author.html#146">[ author ]</a>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0147.html">Graham Travis: "Re: updating scsi bois?"</a>
|
||
<li> <b>Previous message:</b> <a href="0145.html">bruno schwander: "update version of sane port for os/2"</a>
|
||
<li> <b>Maybe in reply to:</b> <a href="0138.html">Robert Schwebel: "16 bit images"</a>
|
||
<!-- nextthread="start" -->
|
||
<li> <b>Next in thread:</b> <a href="0150.html">Oliver Rauch: "Re: 16 bit images"</a>
|
||
<!-- reply="end" -->
|
||
</ul>
|
||
<!-- body="start" -->
|
||
Oliver Rauch wrote:<br>
|
||
<i>> xsane should work with color and grayscale images with 16 bits/pixel.</i><br>
|
||
<p>
|
||
Nope! From xsane-0.39/frontend/xsane-preview.c, function<br>
|
||
preview_read_image_data:<br>
|
||
<p>
|
||
----------8<----------8<----------8<----------8<----------<br>
|
||
case SANE_FRAME_GRAY:<br>
|
||
switch (p->params.depth)<br>
|
||
{<br>
|
||
case 1:<br>
|
||
[...]<br>
|
||
case 8:<br>
|
||
[...]<br>
|
||
default:<br>
|
||
goto bad_depth;<br>
|
||
----------8<----------8<----------8<----------8<----------<br>
|
||
<p>
|
||
I tried to add a case 16, but as I don't exactly understand what's going<br>
|
||
on here it does not really work. The frontend aquires an image and<br>
|
||
displays it, but there seems to be a problem with byte order or<br>
|
||
interpretation of pixel "short"s, as every second row becomes black.<br>
|
||
Would you mind having a closer look at this? <br>
|
||
<p>
|
||
Thanks in advance,<br>
|
||
Robert<br>
|
||
<pre>
|
||
--
|
||
+----------------------------------------------------------+
|
||
Robert Schwebel, Luedemannstrasse 25, 24114 Kiel, Germany
|
||
Public Observatory Rothwesten (near Kassel, Germany)
|
||
Phone: +49-431-6794138, email: <a href="mailto:robert@schwebel.de">robert@schwebel.de</a>
|
||
<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="0147.html">Graham Travis: "Re: updating scsi bois?"</a>
|
||
<li> <b>Previous message:</b> <a href="0145.html">bruno schwander: "update version of sane port for os/2"</a>
|
||
<li> <b>Maybe in reply to:</b> <a href="0138.html">Robert Schwebel: "16 bit images"</a>
|
||
<!-- nextthread="start" -->
|
||
<li> <b>Next in thread:</b> <a href="0150.html">Oliver Rauch: "Re: 16 bit images"</a>
|
||
<!-- reply="end" -->
|
||
</ul>
|