title: Can ImageMagick return the image size?
body: <p>I'm using ImageMagick from the command line to resize images:</p>
  
  <pre><code>convert -size 320x240 image.jpg
  </code></pre>
  
  <p>However, I don't know how to determine the size of the final image. Since this is a proportional image scale, it's very possible that new image is 100x240 or 320x90 in size (not 320x240).</p>
  
  <p>Can I call the 'convert' command to resize the image and return the new image dimensions? For example, pseudo code:</p>
  
  <pre><code>convert -size 320x240 -return_new_image_dimension image.jpg   // returns the new resized image dimensions
  </code></pre>