imagesize - pydoc - phpman

Look up a command

 

Markdown Format | JSON API | MCP Server Tool


Help on module imagesize:

NAME
    imagesize

FUNCTIONS
    get(filepath)
        Return (width, height) for a given img file content
        no requirements
        :type filepath: Union[bytes, str, pathlib.Path]
        :rtype Tuple[int, int]

    getDPI(filepath)
        Return (x DPI, y DPI) for a given img file content
        no requirements
        :type filepath: Union[bytes, str, pathlib.Path]
        :rtype Tuple[int, int]

FILE
    /usr/lib/python3/dist-packages/imagesize.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!