# imagesize — card for AI agents

Extract image dimensions from headers without full file loading.

Category: Files, images and media · PyPI package `imagesize` · latest version 2.0.1 (checked 2026-11-01)
Install: `pip install imagesize`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 48.7 (#2129 of all tools, 139 of 281 in its category)
- Used in 2 public projects set up for AI coding agents (0.0%)
- Downloads last week: 5,037,952 (as of 2026-11-24), +5.8% over 4 weeks
- GitHub stars: 256 (as of 2026-11-24)
- Last push: 2026-08-24

## Often used with
Babel (Python) 98.3%, Click 98.3%, docutils 98.3%, Jinja2 98.3%, attrs 96.5%, MarkupSafe 96.5%

## Checked alternatives (same job)
- Pillow: https://agentgid.com/tools/pillow/agent.md
- OpenCV Python: https://agentgid.com/tools/opencv-python/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/imagesize/
- Repository: https://github.com/shibukawa/imagesize_py

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
