imghdr
index
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/imghdr.py
Module Docs

Recognize image file formats based on their first few bytes.

 
Functions
       
what(file, h=None)

 
Data
        __all__ = ['what']