Last active
September 29, 2015 05:48
-
-
Save deltheil/1555692 to your computer and use it in GitHub Desktop.
Print out the width x height of a given image via ImageMagick identify
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
# ImageMagick `identify` format features is handy | |
# e.g. to obtain the width x height of a given image (360x480) | |
# | |
# See http://www.imagemagick.org/script/escape.php | |
# for a complete list of supported format characters | |
identify -format "%wx%h" myimage.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment