Skip to main content

Find the size or type of the image without fetching the whole content.

Project description

imgspy finds the size and type of image without downloading its content.

usage

>>> imgspy.size('http://via.placeholder.com/1920x1080')
(1920, 1080)
>>> imgspy.size('/path/to/image.jpg')
(1920, 1980)

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

imgspy-0.1.1.tar.gz (1.8 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