Re: Python Imaging Library (PIL) question

2008-10-21 Thread Sid
The problem is likely to do with the line picMap = [[0] * width ] * height yeah the problem was with that specific line. The snippet from your link worked by replacing the previous declaration by picMap = [[0] * 3 for x in xrange(height)] Thanks, -Sid -- http://mail.python.org/mailman/listi

Re: Python Imaging Library (PIL) question

2008-10-20 Thread Darcy Mason
On Oct 20, 2:14 pm, Sid <[EMAIL PROTECTED]> wrote: > Hi, > >   I am tryin to copy an image into my own data structure(a sort of 2d array   > for further FFT). I've banged my head over the code for a couple of hours   > now. The simplified version of  my problem is below. > > #-Code-