Help with loading file into an array

Fábio Santos fabiosantosart at gmail.com
Sun May 5 03:43:21 EDT 2013


Using a nested array should waste a lot of memory. I think you should use
PIL to load and read the image.

>
> I want to read the data from that gif file taking the red data (excluding
the green and blue data) and store that in an array called Image[][] which
is a nested array length 1024 with a list in each item of 1024 length (ie
1024 x 1024)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130505/e654946e/attachment.html>


More information about the Python-list mailing list