[Image-SIG] Bug in paste method?

Aureli Soria Frisch Aureli.Soria_Frisch@ipk.fhg.de
Thu, 12 Apr 2001 19:22:34 +0200


Hi,

I am using the MacPython 2.0 and the PIL included by default there.
When doing:

>>> a=Image.new('L',(128,128))
>>> a.paste(128,(0,0,9,9))
>>> a.save('prova.tif')

A black 128x128 image appears, while up to the documentation an 8x8 box of
grayvalue 128 should appear at the top left corner.

What am I doing wrong?


Thanks in advance,

Aureli

PS: paste() of another image (8x8 icon) is working properly

#################################
Aureli Soria Frisch
Fraunhofer IPK
Dept. Pattern Recognition

post: Pascalstr. 8-9, 10587 Berlin, Germany
e-mail:aureli@ipk.fhg.de
fon: +49 30 39 00 61 50
fax: +49 30 39 17 517
#################################