Anton Sherwood wrote:

> Hi, I'm attempting to use PIL for the first time,
> and getting all kinds of type errors.  Latest version:
> 
>    File "d1.py", line 50, in <module>
>      im.putdata(zz, 1.0, 0.0)  ## zz is a list of RGB tuples

what's im.mode ?

what's zz[:10] (the first ten entries in the list)

can you reproduce the error with a minimal test program?  e.g. something 
like

      im = Image.new(..., (2, 2))
      im.putdata([...], 1.0, 0.0)

where ... is a mode and data that matches what you're using when you got 
that error?

</F>

_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to