title: Image rotate during save() imagine php
body: <p>I use the imagine library to manage the sizing of images.</p>
  <pre><code>$imagine = new Imagine\Imagick\Imagine();
  $imagine-&gt;open($file)
          -&gt;thumbnail(new Imagine\Image\Box(1000, 2000), Imagine\Image\ImageInterface::THUMBNAIL_INSET)
           -&gt;save($file);
  </code></pre>
  <p>I use the following function to generate a thumbnail with proper dimensions. However, on some images (only), the images turn over 90 degrees (here an image of 3024x4032). Do you know how to keep the orientation ? (I did not find an option in the documentation).
  Thanks in advance</p>