title: ImageMagick do not rotate image according to EXIF
body: <p><a href="http://gist.qiniudn.com/auto-orient-bug.jpg" rel="nofollow noreferrer">wrong exif http://gist.qiniudn.com/auto-orient-bug.jpg</a></p>
  
  <p>This image has EXIF <code>"Orientation":{"val":"Top-left","type":3}</code>, we know its EXIF is obvious wrong, but it should rotate and lay down.</p>
  
  <p>I use newest ImageMagick running:</p>
  
  <pre><code>convert auto-orient-bug.jpg -auto-orient output.jpg
  </code></pre>
  
  <p>the output image is same as the origin.<br>
  My question is how ImageMagick dectect this and keep the image standing.</p>