title: imagemagick convert command generating lots of images instead of just one
body: <p>I am calling the following command from a Java app:</p>
  
  <pre><code>/usr/bin/convert "companies.png" -strip -quality 67 -density 92 -resize "300x&gt;" -crop "300x300&gt;" -format png result.png
  </code></pre>
  
  <p>But instead of getting one image back, cropped at 300x300 after being resized, I'm getting six slices of the same image, each 300px tall, which isn't exactly what I was expecting.</p>
  
  <p>Any idea on how I could change this command to just get <strong>one</strong> image? This is a backend service, so having something that generates an unknown amount of images isn't really ideal.</p>
  
  <p>The original image is available <a href="http://i.stack.imgur.com/ZOSJu.png" rel="nofollow">here</a></p>