Home
Head's Up: I'm in the middle of upgrading my site. Most things are in place, but there are something missing and/or broken including image alt text. Please bear with me while I'm getting things fixed.

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 :

bash
identify -format "%w" image.jpg

Height :

bash
identify -format "%h" image.jpg

- These commands don't add a newline

- To add a newline change them to [TODO: Code shorthand span ] and [TODO: Code shorthand span ]