title: how to multiply one image to another in python
body: <p>i am trying to get one image over the other i.e. if two images greenapple.png and redcolor.png images are there with me, now i want to multiply that redcolor.png to greenapple.png so that the image in greenapple.png will be covered up with redcolor.png only at the place where greeapple.png has and leave the rest.
  i have tried  ImageChops to do it and the code is </p>
  
  <pre><code>import Image
  import bakepass
  from PIL import ImageChops
  
  im1 = Image.open("greenapple.png")
  im2 = Image.open("redcolor.png")
  image = Image.open("new.png")
  
  image.save(ImageChops.multiply(im1,im2))
  </code></pre>
  
  <p>but using the above code i am getting Value error : images do not match
  i am using the files of same size 512X512
  plz help me out</p>