title: Resize image using ImageMagick and Paperclip based on center point
body: <p>Let's say I want an image to be resized to 100px x 100px.</p>
  
  <p>I upload Picture A of 200px x 150px. I want it to resize up to ...px x 100px based on the center point. So I don't actually care about the loss sides (the resized 200px).</p>
  
  <p>If I upload Picture B of 150px x 200px, likewise it should be resized to 100px x ...px.</p>
  
  <p>The end result is always 100px x 100px, just that it is positioned in the center.</p>
  
  <p>I have looked through examples in:</p>
  
  <ul>
  <li><a href="http://www.imagemagick.org/script/command-line-processing.php#geometry" rel="nofollow">http://www.imagemagick.org/script/command-line-processing.php#geometry</a></li>
  <li><a href="http://www.imagemagick.org/Usage/resize/" rel="nofollow">http://www.imagemagick.org/Usage/resize/</a></li>
  </ul>
  
  <p>but can't find out how to do it. Any ideas?</p>