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.

usage

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.

future

  • 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.

Source Distribution

dimensions-0.0.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page