Add images together

Diez B. Roggisch deets at nospam.web.de
Mon Feb 26 15:13:31 EST 2007


iceman schrieb:
> Hi,
> 
> I am trying to add together a number of images:
> 
> im = image1 + image2 + ...
> 
> How can i do this? I have tried to add two image instances
> together but i get the following error:
> TypeError: unsupported operand type(s)  for +: 'instance' and
> 'instance'

Create a new image of double size, and blit the images to the correct 
destination.

Diez




More information about the Python-list mailing list