Skip to main content

Pure python lib to read width and height of image files

Project description

A pure Python library for reading the width and height of images.


For a single image:

> dimensions src/sample.png src/sample.png (405, 239)

Wildcards also work (the escape ‘’ is only for PyPi RST…):

> dimensions src/*.png src/sample.png (405, 239) src/sample2.png (473, 469)

As always, full details are available via dimensions -h.


  • GIF
  • organize into ./dimensions/ dir by module
  • confirm working as importable module
  • tests
  • JPEG

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dimensions, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size dimensions-0.0.1.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page