Lightning-fast extraction of basic image metadata


License
Other
Install
pip install imsize==1.7.0

Documentation

imsize

Build Status

Lightning-fast extraction of image dimensions & bit depth. Tested on Python 3.8+ and Ubuntu 22.04.

Supports PGM / PPM / PNM / PFM / PNG / BMP / JPG / TIFF / INSP / EXR / HDR / DNG / CR2 / NEF / RAW / NPY.

Installing on Linux:

pip install imsize

Documentation:

pydoc imsize

Command-line usage:

imsize --help

Building & installing from source:

make install

Building & releasing to PyPI:

make release