title: PIL ValueError: Images do not match
body: <p>I've been messing around in python with PIL and I'm working on a function that mirrors and image in 4 quadrants. Obviously I got an error and I can't seem to figure it out. My function is as follows:</p>
  
  <pre><code>def mirror_four(image):
  x = image.size[0]
  y = image.size[1]
  
  temp = Image.new("RGB", (image.size[0], image.size[1]), "black")
  
  tl = image
  tr = mirror_left(image)
  bl = mirror_verticle(image)
  br = mirror_verticle(tr)
  
  image.paste(temp,(0,0,int(x/2),int(y/2)),tl)
  image.paste(temp,(int(x/2),0,0,int(y/2)),tr)
  image.paste(temp,(0,int(y/2),int(x/2),0),bl)
  image.paste(temp,(x/2,y/2,x,y),br)
  
  return temp
  </code></pre>
  
  <p>This returns the error: ValueError: Images do not match</p>
  
  <p>I'm a little lost and the PIL documentation doesn't help me much. Thanks in advance for the help!</p>