Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

image-size

Detect and retrieve dimensions of image files without downloading entire file.

Files, images and mediaNPM

1. License

License from npm.

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What image-size does

Detect and retrieve dimensions of image files without downloading entire file.

image-size popularity

62 / 100
Gid Score, #901 overall
40.3M
downloads a week, npm
18
agent projects use it
image-size: downloads per weeknpm, image-size 40,319,984

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How image-size is used

  • image-size is a dependency in 18 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 26 projects, and what it is used with below comes from all of them.
  • The most used alternative in our scan is Sharp (297 projects).
  • Projects that use it most often also use remark-gfm (53.8%), rehype-slug (50.0%), clsx (57.7%).

By coding agent

12 projects, 0.4%
8 projects, 0.2%
7 projects, 0.3%

Often used with

In 53.8% of its projects
In 50.0% of its projects
In 57.7% of its projects
In 42.3% of its projects
In 53.8% of its projects
In 73.1% of its projects
In 92.3% of its projects
In 38.5% of its projects

More about image-size

More in Files, images and media

Alternatives

image-size This page

MITGid 6240.3M/wk

Sharp

High-speed image processing for resizing, converting JPEG, PNG, WebP, GIF formats.

Apache-2.0Gid 84172M/wk

Compare image-size with another tool

Get started

Install it.

npm install image-size

No step-by-step start for image-size yet: we have not written its hand-checked card.