/ Published in: Bash
![](/img/icon_sav.png?v3)
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
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)