Crop and resize an image with imagemagik
convert input.jpg -resize 140x140^ -gravity center -extent 140x140 output.jpg
Written by Andrew Walker
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Imagemagik
Authors

mokagio
1.255K
Related Tags
#imagemagik
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#