Function detect_image_type

Source
pub fn detect_image_type(
    file: &File,
    overlapped_mode: bool,
) -> Result<ImageType>
Expand description

Detect the type of an image file by checking for a valid header of the supported formats.