[Image-SIG] PIL bit decoder

David Smith areopagus125@yahoo.com
Tue, 13 May 2003 11:01:42 -0700 (PDT)

Evidently, I don't understand something about PIL's
bit decoder.  I have an 11-bit image to read, with
pixels packed so that they cross byte boundaries.  The
documentation says that the bit decoder reads into
floating point images.  I figured that reading 11-bit
data should produce floating point pixels with integer
values from 0.0 to 2047.0.  But I am getting littly
teeny pixels instead, like 1e-15 and
7.3789486648102458e-021.  It also appears that only
the low-numbered rows are receiving data.  What am I

  David Smith

Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.