Created
March 27, 2017 23:40
-
-
Save miguelmota/603c8c9e933a965f2ddb524b5489e51a to your computer and use it in GitHub Desktop.
Resize image command line imagemagick
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
url=https://example.com/hello.jpg | |
out=resized.png | |
wget $url -O image.jpg | |
convert image.jpg -resize 320 $out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment