Skip to main content

pymage_size

Downloads

A Python package for getting the dimensions of an image without loading it into memory. No external dependencies either!

Installation

pymage_size is available from PyPI, so you can install via pip:

$ pip install pymage_size

Usage

from pymage_size import get_image_size

img_format = get_image_size("example.png")
width, height = img_format.get_dimensions()

Metadata

Release files for pymage-size 1.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pymage-size 1.7.1
File Size Uploaded Provenance Actions
pymage_size-1.7.1.tar.gz 4.3 kB Without provenance Details for pymage_size-1.7.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pymage-size 1.7.1
File Interpreter ABI Platform Actions
pymage_size-1.7.1-py3-none-any.whl Python 3 none any Details for pymage_size-1.7.1-py3-none-any.whl

Total release size: 8.9 kB

Release files / pymage_size-1.7.1.tar.gz

Download URL pymage_size-1.7.1.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
175f9dad45794d4be60200101f36117390e52107bb30bc2b81dbeb61f6c277d6
BLAKE2b-256 checksum
How to use checksums
bb0ab95a6af78d153279a3f94d9c1e73a40819e22f05bc2139bb950f16474725
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.11.0 Linux/5.15.0-1031-azure

Release files / pymage_size-1.7.1-py3-none-any.whl

Download URL pymage_size-1.7.1-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2845070d488f2b21b1670fe0bf8a2f84c2c848c24b67dfc4ef7dda3c151f38da
BLAKE2b-256 checksum
How to use checksums
4c3826c671ba984fc08f0883386954e20339d2da7654422aa4d5e9c36d8741b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.11.0 Linux/5.15.0-1031-azure

Security for pymage-size 1.7.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page