Get image size from headers (BMP/PNG/JPEG/JPEG2000/GIF/TIFF/SVG/Netpbm/WebP/AVIF/HEIC/HEIF)
Project Links
Meta
Author: Yoshiki Shibukawa
Requires Python: >=3.10,<3.15
Classifiers
Development Status
- 5 - Production/Stable
Intended Audience
- Developers
License
- OSI Approved :: MIT License
Programming Language
- Python :: 3
- Python :: 3 :: Only
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
- Python :: Implementation :: CPython
- Python :: Implementation :: PyPy
Operating System
- OS Independent
Topic
- Multimedia :: Graphics
It parses image files’ header and return image size.
BMP
PNG
JPEG
JPEG2000
GIF
TIFF
SVG
Netpbm
WebP
AVIF
HEIC/HEIF
This is a pure Python library.
2.0.0
Mar 03, 2026
1.5.0
Mar 03, 2026
1.4.1
Jul 01, 2022
1.4.0
Jul 01, 2022
1.3.0
Nov 09, 2021
1.2.0
Dec 26, 2019
1.1.0
Sep 03, 2018
1.0.0
Feb 15, 2018
0.7.1
Apr 23, 2016
0.7.0
Feb 08, 2016
0.6.0
Feb 02, 2016
0.5.0
Feb 01, 2016
Wheel compatibility matrix
Files in release
No dependencies