/ Published in: Bash

simple command that resize and crop, if necessary, an image, centering the image.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/usr/bin/convert -verbose "/home/artaserse/img.png" -resize 190x150^ -gravity center -extent 190x150 "/home/artaserse/img_cropped.png"
Comments
