imghdr - pydoc - phpman

Look up a command

 

Markdown Format | JSON API | MCP Server Tool


Help on module imghdr:

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

MODULE REFERENCE
    https://docs.python.org/3.10/library/imghdr.html

    The following documentation is automatically generated from the Python
    source files.  It may be incomplete, incorrect or include features that
    are considered implementation detail and may vary between Python
    implementations.  When in doubt, consult the module reference at the
    location listed above.

FUNCTIONS
    what(file, h=None)

DATA
    __all__ = ['what']

FILE
    /usr/lib/python3.10/imghdr.py



Generated by phpMan Author: Che Dong Under GNU General Public License
2026-06-02 05:15 @216.73.216.198 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!