[sane-devel] sane_get_parameters / sample depth
Major A
andras at users.sourceforge.net
Sun Sep 22 16:52:19 BST 2002
> Could somebody give me a clue about the possible sample depths?
There are only the three you mentioned -- 1, 8, 16. If a scanner
supports, say, 12 bits, then the backend has to expand that to 16
bits. The way this is usually done is that the scanned samples are
left-justified within the two bytes, i.e. the answer to your question
is 0, 32, 64, 96, etc.
Andras
===========================================================================
Major Andras
e-mail: andras at users.sourceforge.net
www: http://andras.webhop.org/
===========================================================================
More information about the sane-devel
mailing list