title: Preserve exif data of image with PIL when resize(create thumbnail)
body: <p>When I try to resize (thumbnail) an image using PIL, the exif data is lost.</p>
  
  <p>What do I have to do preserve exif data in the thumbnail image? When I searched for the same, got some links but none seem to be working.</p>
  
  <pre><code>from PIL import  Image
  import StringIO
  
  file_path = '/home/me/img/a.JPG'
  im = Image.open( file_path)
  THUMB_SIZES = [(512, 512)]
  for thumbnail_size in THUMB_SIZES:
      im.thumbnail( thumbnail_size, Image.ANTIALIAS)
      thumbnail_buf_string = StringIO.StringIO()
      im.save('512_' + "a", "JPEG")
  </code></pre>
  
  <p>The orginal image has exif data, but image im(512_a.JPEG) doesn't. </p>