Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #44728

Re: Help with loading file into an array

References <c4a4e4ee-11c9-4b5e-a24a-10be49a4ce5d@googlegroups.com>
Date 2013-05-05 08:43 +0100
Subject Re: Help with loading file into an array
From Fábio Santos <fabiosantosart@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1290.1367740305.3114.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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)
>

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Help with loading file into an array peter berrett <pwberrett@gmail.com> - 2013-05-04 23:06 -0700
  Re: Help with loading file into an array Fábio Santos <fabiosantosart@gmail.com> - 2013-05-05 08:43 +0100
    Re: Help with loading file into an array "Colin J. Williams" <cjw@ncf.ca> - 2013-05-05 07:42 -0400
  Re: Help with loading file into an array jt@toerring.de (Jens Thoms Toerring) - 2013-05-05 11:44 +0000
  Re: Help with loading file into an array Joshua Landau <joshua.landau.ws@gmail.com> - 2013-05-06 17:28 +0100

csiph-web