[Image-SIG] question and bug?
Fredrik Lundh
fredrik@pythonware.com
Fri, 8 Dec 2000 18:03:40 +0100
mike wrote:
> > im.putpixel( (i,j), some_function(i,j) )
>
> Ack, that's what I was missing. This function 'putpixel' isn't documented
putpixel is a method of the Image class, and it's documented
along with all other methods for that class:
http://www.pythonware.com/library/pil/handbook/image.htm
(also see nick bower's post)
as other have pointed out, it's much more efficient to do "bulk
updates" via putdata and/or fromstring... (to update a subregion,
you can create a new image and paste it into the original).
</F>