[sane-devel] HP5470c scanner nearly working!

Martijn van Oosterhout Martijn van Oosterhout <kleptog@svana.org>
Fri, 21 Feb 2003 12:32:09 +1100


--6sX45UoQRIJXqkqR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Feb 20, 2003 at 09:19:26PM +0100, Bertrik Sikken wrote:
> In the hp3300, the calibration table uses a 16-bit word for each
> calibration value, lower 6 bits are offset and upper 10 bits gain.

Actually, I just remembered. Here is a huge difference. The calibration info
on the hp5470 amounts to 12 bytes per pixel. Three small 16 bit integers
(around 0x05e0) and three large 16 integers (around 0xa000). That why I
think that they're max and min values. At the moment they're hardcoded
because without anything it just produces nothing useful.

I'll look into all this tonight.
--=20
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Support bacteria! They're the only culture some people have.

--6sX45UoQRIJXqkqR
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+VYGZY5Twig3Ge+YRAvZYAKC60pRZtuPkQ+tg/hYIJQOCDjhn8gCdE1In
OXgyqJ25yfcbaSGFEYgkmsA=
=XXcB
-----END PGP SIGNATURE-----

--6sX45UoQRIJXqkqR--