pub fn format(bytes: &[u8]) -> Option<ImageFormat>
Identifies a supported image container from its magic bytes.