Get dimensions of images
Are you implementing a design to HTML, and need a quick reference of the dimensions of asset images? Try:
$ identify *.png
This gets you:
bg-footer.png[1] PNG 30x30 30x30+0+0 8-bit ...
bg-linen.png[2] PNG 128x128 128x128+0+0 8-bit ...
email-facebook.png[3] PNG 32x32 32x32+0+0 8-bit ...
email-signature.png[4] PNG 202x23 202x23+0+0 8-bit ...
email-twitter.png[5] PNG 32x32 32x32+0+0 8-bit ...
Be sure to install ImageMagick first.
$ sudo apt-get install imagemagick # Ubuntu
$ brew install imagemagick # OSX
Written by Rico Sta. Cruz
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Console
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#