Skip to main content

read_image_size

Function read_image_size 

Source
pub fn read_image_size(path: &Path) -> Option<ImageSize>
Expand description

The size of a PNG, JPEG or EPS/PS file, sniffed from its header (ImageSize), read once per path and conversion.