[−][src]Function image::image_dimensions
pub fn image_dimensions<P>(path: P) -> ImageResult<(u32, u32)> where
P: AsRef<Path>,
Read the dimensions of the image located at the specified path. This is faster than fully loading the image and then getting its dimensions.