title: ImageMagick and mogrify crop
body: <p>I have having problems getting a crop to work on an image (I have got the resize working fine)</p>
  
  <p>The orginal image is <code>x</code> and after a resize:</p>
  
  <pre><code>mogrify -resize x75 /my/path/image.jpg
  </code></pre>
  
  <p>i can see the resize has worked properly after performing getimagesize():</p>
  
  <pre><code>Array
  (
      [0] =&gt; 148
      [1] =&gt; 75
      [2] =&gt; 2
      [3] =&gt; width="148" height="75"
      [bits] =&gt; 8
      [channels] =&gt; 3
      [mime] =&gt; image/jpeg
  )
  </code></pre>
  
  <p>the crop command is:</p>
  
  <pre><code>mogrify -crop 100x75! +0+0 /my/path/image.jpg
  </code></pre>
  
  <p>Once this is complete I try and confirm the image is the correct size by using <code>getimagesize()</code> but i get the following error and I also can't access the image.</p>
  
  <pre><code>Warning (2): getimagesize(/my/path/image.jpg) [function.getimagesize]: failed to open stream: No such file or directory
  </code></pre>
  
  <p>Any ideas? Am i using the wrong syntax for the crop?</p>
  
  <p>Thanks in advance!</p>