[Image-SIG] PIL newbie

Anton Sherwood bronto at pobox.com
Thu Jun 7 07:25:48 CEST 2007


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
   File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PIL/Image.py", 
line 1120, in putdata
     self.im.putdata(data, scale, offset)
SystemError: new style getargs format but argument is not a tuple

-- 
Anton Sherwood, http://www.ogre.nu/
"How'd ya like to climb this high *without* no mountain?" --Porky Pine


More information about the Image-SIG mailing list