Add images together

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Mon Feb 26 16:10:28 EST 2007


iceman a écrit :
> 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'
> 

1/ Python has no builtin "image" type.

2/ I don't know any unambiguous mathematical definition of "image addition"

3/ Whatever "image" object you are using, it comes from a package. 
Please read the package documentation.



More information about the Python-list mailing list