[Image-SIG] Re: PIL bit decoder
David Smith
areopagus125@yahoo.com
Tue, 13 May 2003 15:36:50 -0700 (PDT)
--- Fredrik Lundh <fredrik@pythonware.com> wrote:
> try this:
>
> import Image
>
> im = Image.fromstring("F", (10,10), "*"*1000,
> "bit", 11, 0, 0, 0, 0)
>
> print im.mode
> print im.size
> print list(im.getdata())
>
> on my box, this prints:
>
> F
> (10, 10)
> [337.0, 650.0, 1108.0, 674.0, 1301.0, 168.0,
> ..., 1108.0, 674.0]
Yes, it produces the same result for me.
-- David Smith
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com