Major A wrote:
>>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-j
Hi all,
I'm currently trying to improve the sane "glue layer" from PIL (Python
Imaging Library). One of things missing there is support for other
sample depths than 8. While it's obvious how to implement support for
line art, I'm become more and more puzzled, if support for other sample
depths
> 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 byte