On 05/05/2013 3:43 AM, Fábio Santos wrote:
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)
 >

Fabio,

Have you considered numpy?

Colin W.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to