pypi / imagesize
imagesize
What changed in imagesize 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-26.
1 breaking2 performance3 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initimagesize 26 changes
Breaking changes 1
The upper Python version cap is removed.
Performance 2
HTTP range reads are optimized, which may improve performance when reading image data.
Metadata parsing is optimized, which may improve image size detection performance.
Fixes and other changes 3
Fixes parsing of JPEG2000 boxes.
SVG dimensions enclosed in single quotes are now accepted.
Top-down BMP images now return positive heights.