imghdr - Recognize image file formats based on their first few bytes.