Skip to content

Instantly share code, notes, and snippets.

@shamil614
Created October 20, 2011 21:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shamil614/1302412 to your computer and use it in GitHub Desktop.
Save shamil614/1302412 to your computer and use it in GitHub Desktop.
Imagemagick - Resize and crop
convert original.jpg -resize 200x200^ -gravity Center -crop 200x100+0+0 +repage thumbs.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment