# Image processing libraries

Resize, convert and draw images from JavaScript. Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.

| Rank | Project | Overall | Needed by many | Helps a lot | Holds up over time | Used widely | Vouched for | Safe | Best for |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | [sharp](https://elestia.ai/opensource/images/sharp/index.md) | 9.0 | 6.5 | 9.0 | 8.5 | 8.8 | 9.0 | 7.1 | Node.js, Bun or Deno backends and build pipelines that need fast resizing, format conversion and thumbnails in production. |
| 2 | [@napi-rs/canvas](https://elestia.ai/opensource/images/napi-canvas/index.md) | 7.6 | 4.1 | 7.9 | 7.5 | 5.4 | 7.5 | 7.2 | Node.js developers who need to draw on a canvas on the server (charts, cards, PDF page rendering) without installing Cairo or other system libraries. |
| 3 | [Satori](https://elestia.ai/opensource/images/satori/index.md) | 7.3 | 3.9 | 7.2 | 7.6 | 5.6 | 7.1 | 7.3 | Teams that generate link-preview or social card images from JSX on servers or edge runtimes without a headless browser. |
| 4 | [pica](https://elestia.ai/opensource/images/pica/index.md) | 6.8 | 3.7 | 7.5 | 6.5 | 4.0 | 5.0 | 7.1 | Web apps that must shrink user images in the browser before upload, with better quality than canvas drawImage. |
| 5 | [ImageScript](https://elestia.ai/opensource/images/imagescript/index.md) | 6.7 | 5.7 | 7.5 | 6.3 | 3.5 | 2.9 | 7.4 | Developers who need image decoding, resizing, text and format conversion on edge runtimes, Deno or the browser, where sharp's native binary cannot run. |
| 6 | [resvg-js](https://elestia.ai/opensource/images/resvg-js/index.md) | 5.9 | 3.4 | 6.8 | 4.2 | 5.1 | 5.6 | 6.1 | Projects that only need to turn SVGs, such as Satori output, into PNGs without native build steps. |
| 7 | [node-canvas](https://elestia.ai/opensource/images/node-canvas/index.md) | 5.3 | 3.9 | 6.4 | 4.9 | 5.9 | 5.9 | 5.1 | Projects that need a Cairo-backed canvas with PDF/SVG output, or that use tools built on `canvas`, such as jsdom, Fabric.js or chartjs-node-canvas. |
| 8 | [Jimp](https://elestia.ai/opensource/images/jimp/index.md) | 5.1 | 5.6 | 5.6 | 3.8 | 6.2 | 4.8 | 6.1 | Small scripts, tools or browser and serverless code that need simple image edits without native dependencies. |
| 9 | [gm](https://elestia.ai/opensource/images/gm/index.md) | 1.3 | 4.5 | 5.0 | 0.6 | 4.5 | 3.2 | 3.1 | Nobody starting today; only existing codebases that need time to migrate off it. |

## The numbers

| Project | Downloads, 4 weeks | In a year | GitHub stars | Commits, 12 months | Last npm release | Advisories, 24 months |
| --- | --- | --- | --- | --- | --- | --- |
| sharp | 651M | ×8.2 | 33k | 255 | Sept 2026 | 3 |
| @napi-rs/canvas | 211M | ×24 | 2.4k | 293 | Nov 2026 | 0 |
| Satori | 31M | ×18 | 14k | 145 | Oct 2026 | 1 |
| pica | 7M | ×11 | 4.2k | 63 | Aug 2026 | 0 |
| ImageScript | 860k | ×6.4 | 685 | 655 | Nov 2026 | 0 |
| resvg-js | 30M | ×18 | 2k | 23 | Mar 2024 | 0 |
| node-canvas | 45M | ×2.8 | 11k | 86 | Mar 2026 | 0 |
| Jimp | 17M | ×2.7 | 15k | 1 | Apr 2026 | 0 |
| gm | 4.1M | +75% | 7k | 0 | Feb 2025 | 0 |

All categories: https://elestia.ai/opensource/index.md
