Skip to main content

image_size

Function image_size 

Source
pub fn image_size(data: &[u8]) -> Option<(u32, u32)>
Expand description

Pixel size of a PNG or JPEG from its header.