title: Detect EXIF Orientation and Rotate Image using ImageMagick
body: <p>Canon DSLRs appear to save photos in landscape orientation and uses <code>exif::orientation</code> to do the rotation.</p>
  
  <p><strong>Question:</strong> How can imagemagick be used to re-save the image into the intended orientation using the exif orientation data such that it no longer requires the exif data to display in the correct orientation?</p>