title: PIL - Images not rotating
body: <p>I'm curious as to why my image is not rotating, it ends up in the same position every time. </p>
  
  <pre><code>img = Image.open(r'C:\Users\Brett\Downloads\testing.jpg')
  exif_data = {
      TAGS[k]: v
      for k, v in img._getexif().items()
      if k in TAGS
  }
  print(exif_data['Orientation'])
  </code></pre>
  
  <p>That outputs a '6'</p>
  
  <p>No matter how many degrees I tell the image to rotate it ends up in the same position. </p>
  
  <pre><code>if exif_data['Orientation'] == 6:
      img.rotate(90)
  </code></pre>
  
  <p>or</p>
  
  <pre><code>if exif_data['Orientation'] == 6:
      img.rotate(270) 
  </code></pre>
  
  <p>or</p>
  
  <pre><code>if exif_data['Orientation'] == 6:
      img.rotate(180)
  </code></pre>
  
  <p>I always end up with an image rotated 90 degrees counter-clockwise. Am I doing something obviously wrong?</p>