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 details)

Uploaded Source

File details

Details for the file dimensions-0.0.1.tar.gz.

File metadata

  • Download URL: dimensions-0.0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dimensions-0.0.1.tar.gz
Algorithm Hash digest
SHA256 18052988b4b6358991883f66cfc427e93aeaf03ba6c3aa521fa2e566385e3581
MD5 12b0ec84d9a578450582f5286a9e6ba5
BLAKE2b-256 28b48413c52a87facf85500a3d7996bf84241695ccb44de6834060cd819d9971

See more details on using hashes here.

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