Function image_mime_from_magic
pub fn image_mime_from_magic(bytes: &[u8]) -> Option<&'static str>Expand description
Map leading magic bytes to the image MIME the multimodal loader assigns
them. Recognizes the same wider-than-accepted set as
image_mime_from_extension.