Skip to main content

check_png

Function check_png 

Source
pub fn check_png(path: &str, bytes: &[u8]) -> Result<(), String>
Expand description

Check a reference crop’s bytes: a PNG within the size and pixel limits that carries no metadata chunk.