Head's Up: JavaScript is either turned off or not working properly in your browser. Some parts of this page may not work properly.
use imagesize::size; fn main() { let img = size("image_test/tmp.png").unwrap(); dbg!(img.width); dbg!(img.height); }
use: crate add imagesize to get the crate installed.
crate add imagesize