pub fn read_image_size(path: &Path) -> Option<ImageSize>
The size of a PNG, JPEG or EPS/PS file, sniffed from its header (ImageSize), read once per path and conversion.
ImageSize