Note: This site is currently "Under construction". I'm migrating to a new version of my site building software. Lots of things are in a state of disrepair as a result (for example, footnote links aren't working). It's all part of the process of building in public. Most things should still be readable though.

Get The Width And Height Of An Image With ImageMagick

This is how I get the width and height of image files on the command line

Width:

Code

identify -format "%w" image.jpg

Height:

Code

identify -format "%h" image.jpg