imageformat

Function detect_image_format_path

Source
pub fn detect_image_format_path<P: AsRef<Path>>(path: P) -> Result<ImageFormat>
Expand description

Read first 12 bytes to detect image format