imagesizeFunction image_type
source pub fn image_type(header: &[u8]) -> ImageResult<ImageType>
Expand description
Get the image type from a header
§Arguments
header
- The header of the file.
This will check the header to determine what image type the data is.