title: Rotating an image with orientation specified in EXIF using Python without PIL including the thumbnail
body: <p>I have the following scenario:</p>
  
  <ul>
  <li>I am sending an image from iPhone along with the EXIF information to my Pyhon socket server.</li>
  <li>I need the image to be properly oriented based on the actual orientation when the image was taken. I know IOS always saves the image as Landscape Left and adds the actual orientation as EXIF field (EXIF.Image.Orientation).</li>
  <li>I am reading the EXIF field to see the actual orientation. Then I am rotating the image using wxpython to the proper orientation.</li>
  </ul>
  
  <p>I am using pyexiv2 for EXIF manipulation.</p>
  
  <p>Issue: The EXIF information incluiding the thumbnails lost while rotating the image using wxpython.</p>
  
  <p>What I did: I am reading the EXIF before rotating the image. I reset the orientation field in the EXIF. Then I am putting it back after rotation.</p>
  
  <p>The problem:</p>
  
  <p>The thumbnail inside the EXIF is not rotated. So, the image and thumbnail have different orientations.</p>
  
  <p>Questions?</p>
  
  <p>Is there any module other than PIL to rotate an image keeping its EXIF info?</p>
  
  <p>Is there a separate EXIF field for thumbnail orientation?</p>
  
  <p>Is there a way I can just rotate the Thumbnail alone?</p>
  
  <p>Thanks for your help...</p>