title: How to crop image from center without resizing with imagemagick
body: <pre><code>for parentDir in *
  do
      cd "$parentDir"
      for subDir in *
      do
          cd "$subDir"
          for file in *.*
          do
              convert "$file" -crop 120x95 summary_"$file"
              convert "$file" -crop 160x225 detail_"$file"
          done
          mkdir detail
          mkdir summary
          mv summary_* summary/
          mv detail_* detail/
          cd ..
      done
  cd ..
  done
  </code></pre>
  
  <p>Here is my script, I need a way to crop the image without resizing, get rid of the extra surrounding. </p>
  
  <p>For example: 1200* 1500 image  ---->   120px * 90px from the center</p>