Skip to main content

header_dimensions

Function header_dimensions 

Source
pub fn header_dimensions(path: &Path) -> Result<(u32, u32), ProcessError>
Expand description

Width and height from the file header, without decoding pixels. Fails with too_large_dimensions past the bomb guard.