Get The Width And Height Of An Image With ImageMagick In Rust
April 2023
This is the process I'm using to get the width and height of images for a project I'm working on. It uses ImageMagick instead of the image crate. I'm using it because it's considerably faster.
use Command;
That call is for the height. Changing %h to %w provides with width.
end of line