QuickCam bit depth wired to 8: why?

Andrew Kuchling (amk@magnet.com)
Wed, 18 Jun 1997 18:12:08 -0400 (EDT)

I was wondering why scanimage was producing such dark images, and
realized that the bit depth returned from sane_get_parameters() in
qcam.c is hard-wired to 8--the configured bit depth (4 or 6 bits)
isn't used. Why is that done?

scanimage.c also assumes that grey-scale images will always have a bit
depth of 8; for the moment I've been simply hand-editing the generated
.pnm file, changing the number of colours from 255 to 63.

Andrew Kuchling
amk@magnet.com
http://people.magnet.com/%7Eamk/

--
Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/
To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com