title: Can't set image orientation with ImageMagick
body: <p>I'm trying to set a JPEG file's image orientation in ImageMagick, but not seeing any visible changes.</p>
  
  <p>In PHP via the Imagick library, something like this seems to have no effect on the image written out:</p>
  
  <pre><code>$image-&gt;setImageOrientation( 8 );  // 8 == imagick::ORIENTATION_BOTTOMRIGHT
  </code></pre>
  
  <p>I can detect no difference in the image created with ImageMagick's identify, nor with exiv2.</p>
  
  <p>And convert and mogrify don't seem to help either. I try commands like:</p>
  
  <pre><code>mogrify -orient BottomRight test.jpg
  </code></pre>
  
  <p>And see no effect.</p>
  
  <p>However, exiv2 does seem to be able to modify the orientation, and the Mac desktop even updates the thumbnail immediately. Unfortunately in the environment I want to use, I won't have exiv2. </p>
  
  <p>I assume ImageMagick doesn't have these features for no reason... what am I doing wrong?</p>