Skip to content

A utility package for getting image dimensions without loading files into memory. No dependencies!

License

Notifications You must be signed in to change notification settings

kobaltcore/pymage_size

Repository files navigation

pymage_size

Downloads

A Python package for getting the dimensions of an image without loading it into memory. No external dependencies either!

Installation

pymage_size is available from PyPI, so you can install via pip:

$ pip install pymage_size

Usage

from pymage_size import get_image_size

img_format = get_image_size("example.png")
width, height = img_format.get_dimensions()

About

A utility package for getting image dimensions without loading files into memory. No dependencies!

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published