# What changed in imagesize

> 6 changes in imagesize 2 from its official release notes, upgrade guides and advisories: 1 breaking. Each one cited. Sources checked 2026-10-26. HTML: https://unstale.sh/pypi/imagesize/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## imagesize 2

### Breaking changes

- The upper Python version cap is removed. (2.0.1) — [release notes](https://github.com/shibukawa/imagesize_py/releases/tag/2.0.1)

### Performance

- HTTP range reads are optimized, which may improve performance when reading image data. (2.0.1) — [release notes](https://github.com/shibukawa/imagesize_py/releases/tag/2.0.1)
- Metadata parsing is optimized, which may improve image size detection performance. (2.0.1) — [release notes](https://github.com/shibukawa/imagesize_py/releases/tag/2.0.1)

### Fixes and other changes

- Fixes parsing of JPEG2000 boxes. (2.0.1) — [release notes](https://github.com/shibukawa/imagesize_py/releases/tag/2.0.1)
- SVG dimensions enclosed in single quotes are now accepted. (2.0.1) — [release notes](https://github.com/shibukawa/imagesize_py/releases/tag/2.0.1)
- Top-down BMP images now return positive heights. (2.0.1) — [release notes](https://github.com/shibukawa/imagesize_py/releases/tag/2.0.1)
