how to convert a bitmap file to an array ?
s.mientki at id.umcn.nl
Tue Jun 5 14:23:48 CEST 2007
Diez B. Roggisch wrote:
> stef wrote:
>> I can find all kind of procedures to convert an array to a bitmap
>> (wxPython, PIL),
>> but I can't find the reverse,
>> - convert a bitmap to an array
>> - read a bitmap file to an array
> Not true for PIL, Image.getdata and Image.putdata are your friends.
I really overlooked that.
More information about the Python-list