[Image-SIG] mistakes in ImageOps.py?

Jean-François Roche jfroche@jfroche.be
Wed, 30 Oct 2002 10:49:51 +0100


Hello,

	Maybe somebody noticed that before? (i didn't find out anything in
the archive...) In ImageOps.py (i looked in the Windows and Linux library
of pil-1.1.3) in the expand method:
 
line 154: height = top + image.size[1] + buttom

buttom doesn't exist, isn't it:
	  height = top + image.size[1] + bottom

and on the line:
line 156: out.paste((left, top), image)

paste is im.paste(image, box, mask) then isn't it:
	  out.paste(image ,(left, top))

	I made those modif inside my lib and yet the expand method works.
Sorry if you already noticed that before.

			Regards,

				Jean-François Roche