[sane-devel] sane_get_parameters / sample depth
Sun, 22 Sep 2002 16:52:19 +0100
> 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.