stb::image
pub fn stbi_info_from_memory(buffer: &[u8]) -> Option<Info>
Get image dimensions & components from a slice without fully decoding