title: Imagemagick convert resize then crop
body: <p><br>I have over 1000 images on different resolutions, (for example 1234x2122, 4400x5212 , etc) and I want to convert all of them to fixed 100x100 size, so.</p>
  <ol>
  <li><p>first I need to resize the images keeping proportions, and get 100xA or Ax100, where A &gt; 100 (it depends width and height of image, for some images width &gt; height, and for some images height &gt; width).</p>
  </li>
  <li><p>Crop this image to 100x100 from center</p>
  </li>
  </ol>
  <p>Is there a simple <code>convert</code> command, that I can use for all my images?</p>