[PYTHON IMAGE-SIG] The Image.new() function doesn't initialize the new image

Fredrik Lundh fredrik_lundh@ivab.se
Fri, 17 Jan 1997 12:16:45 +0100

On page 15 in the PIL handbook, the following is said about the
Image.new function:

   new( mode, size ) or new( mode, size, colour ) creates a new image
   with the given mode and size. Size is given as a 2-tuple. If colour is
   not given, the image is initialised to solid black.

The last sentence is not true; if the colour is not given, the image
is not initialised at all.

Now, the only problem is whether I should change the documentation or
the implementation.  Opinions?

Regards	/F

IMAGE-SIG - SIG on Image Processing with Python

send messages to: image-sig@python.org
administrivia to: image-sig-request@python.org