Posted By

artaserse on 03/17/12


Tagged

resize imagemagick convert crop


Versions (?)

ImageMagick Crop & Resize images


 / Published in: Bash
 

simple command that resize and crop, if necessary, an image, centering the image.

  1. /usr/bin/convert -verbose "/home/artaserse/img.png" -resize 190x150^ -gravity center -extent 190x150 "/home/artaserse/img_cropped.png"

Report this snippet  

You need to login to post a comment.