Skip to main content

detect_image_type

Function detect_image_type 

Source
pub fn detect_image_type(buf: &[u8]) -> Option<String>
Expand description

Detect image type from binary data and return MIME type