title: ImageMagick - how to enforce min/max heights/widths?
body: <p>Using <a href="http://www.imagemagick.org" rel="noreferrer">ImageMagick</a>, how can I resize an image to have a <strong>minimum</strong>:</p>
  
  <ul>
  <li>height of 150px</li>
  <li>width of 200px</li>
  </ul>
  
  <p>and <em>also</em> have a <strong>maximum</strong>:</p>
  
  <ul>
  <li>height of 225px</li>
  <li>width of 275px</li>
  </ul>
  
  <p><strong>UPDATE</strong>:</p>
  
  <p>In case it helps, here's a further explanation of what I'm experiencing.</p>
  
  <p>I have a buch of images with all different ratio dimensions. Some images have 1:5 height/width ratios. Some have 5:1 height/width ratios. So that I want to do is set that a minimum height/width size for the image but also don't want the image size to be larger than a particular size. </p>
  
  <p>If I need to apply white padding to an image to make it fit within my constraint so that I don't have to distort the image, I'd like to do so.</p>