# ImageScript: 6.7 out of 10

Reasonable, with limits. 5th of 9 in [Image processing libraries](https://elestia.ai/opensource/images/index.md).

ImageScript is a zero-dependency image library written in pure TypeScript. It decodes, edits and encodes many formats, including AVIF, JPEG XL and animated WebP, on Node, Deno, Bun, browsers and edge runtimes. It is a good pick when native binaries are not allowed, but it is slower than sharp, few people use it, and nearly all the work comes from one maintainer, who is now finishing a breaking 4.0 release.

**Best for:** Developers who need image decoding, resizing, text and format conversion on edge runtimes, Deno or the browser, where sharp's native binary cannot run.

## Scores

- **Overall: 6.7** (likely 5.3 to 7.7)
  - Claude Opus 5.5 (6.0): Where native code cannot run, ImageScript is arguably the most capable pure-JS choice, and it is far more active than Jimp. sharp remains the default for Node servers because it is faster and widely trusted. ImageScript's single maintainer, small user base and the 4.0 API break keep it in the reasonable-but-limited band.
  - GPT-6.2 Sol (7.3): ImageScript 3.20.5 is a strong choice when one typed library needs to resize, convert, and draw images across browsers and edge runtimes. Sharp remains the stronger default for high-throughput Node.js processing, with faster common operations and a much larger adoption base. The recent rewrite, upcoming major changes, and limited independent testing of 3.x keep the range wide.
- **Needed by many: 5.7** (likely 4.5 to 6.9)
  - Claude Opus 5.5 (6.0): Resizing, converting and drawing images is a common need in web apps. ImageScript's pure-JS approach matters most where native code cannot run, such as edge functions, Deno, browsers and locked-down containers. On a plain Node server, most people will choose sharp.
  - GPT-6.2 Sol (5.3): Image resizing, conversion, and drawing serve projects that handle uploads, thumbnails, or generated graphics. Browser and edge support expands the audience alongside Node.js, Deno, and Bun. Web image measurements and runtime surveys give context, but they do not measure how many projects need their own image library.
- **Helps a lot: 7.5** (likely 6.1 to 8.5)
  - Claude Opus 5.5 (7.0): Its format coverage is unusually wide for pure JavaScript: AVIF, JPEG XL, WebP, animation, HDR gain maps and colour profile conversion. It also includes font and SVG rendering, ships types, and gives clear errors. Speed and memory use trail sharp's native libvips, and the API is being reshaped for 4.0. No independent benchmark numbers were found, which keeps the range wide.
  - GPT-6.2 Sol (8.0): Version 3.20.5 combines a typed bitmap API with modern codecs, animation, SVG, and font rendering. The maintainers’ benchmark on 3.20.4 shows faster JPEG encoding than Jimp, while sharp is faster at JPEG encoding and bicubic resizing. The versioned examples and specific errors help developers and coding agents, although older snippets use changed APIs. Independent evidence on current codec correctness and throughput is thin.
- **Holds up over time: 6.3** (likely 4.4 to 7.8)
  - Claude Opus 5.5 (6.0): Activity is very high: 655 commits and 39 releases in the last year, with no open issues or pull requests. But one account publishes every release, and no sponsor is listed. The coming 4.0 brings breaking changes, though it is handled carefully, with deprecation hints in 3.20.x and a migration guide.
  - GPT-6.2 Sol (6.5): The snapshot shows 655 commits and 39 GitHub releases in a year, with much of the visible work following the October TypeScript rewrite. One account publishes the visible releases, and evidence on funding and backup release access is sparse. An older JPEG report took roughly 21 months to close, so the empty issue queue tells us little about typical response time. The 4.0 release candidate changes APIs again, with deprecation guidance in 3.x.
- **Used widely: 3.5** (likely 2.4 to 4.8)
  - Claude Opus 5.5 (4.0): It had about 860k downloads in the last 4 weeks, up 6.4x from a year ago, which beats the 4.1 median. That is still tiny next to sharp, Jimp or node-canvas. Only 218 dependent repositories and 685 stars point to a few thousand direct users. Part of the download growth may come from packages that install it, not from direct choice.
  - GPT-6.2 Sol (3.0): Four-week npm installs rose to 860,180, about 6.37 times the prior year and above the 4.1 catalog median. The 218 indexed repositories and 14 packages put it well behind sharp and Jimp in observed adoption, and the snapshot has no matched Hacker News or Bluesky activity. Repeated installs can inflate npm counts, while JSR and CDN use can escape them, so the number of projects choosing ImageScript remains uncertain.
- **Vouched for: 2.9** (likely 1.7 to 4.5)
  - Claude Opus 5.5 (3.0): No well-known company or framework was found building on it. It has no Hacker News or Bluesky attention, and it does not appear in developer surveys. The only outside comment is from comparison sites, which call it the better pure-JS option than Jimp for new work.
  - GPT-6.2 Sol (2.8): A Supabase user reported switching to ImageScript for an edge function, and an independent evaluation verified PNG resizing on 1.3.1. The denorg QR code project also documents it as an optional converter. These examples mostly cover 1.x, and evidence of large production deployments, satisfaction, or independent performance tests for 3.x is sparse.
- **Safe: 7.4** (likely 5.9 to 8.7)
  - Claude Opus 5.5 (7.0): It has zero dependencies, no install scripts or native binaries, and no known advisories. Recent releases add limits against hostile SVG, font and oversized inputs. The risks are a single publisher and no OpenSSF Scorecard, plus a noted gap where a small GIF can still allocate a large canvas. The npm licence field reads AGPL-3.0-or-later OR MIT, while GitHub shows MIT. MIT can be chosen, so commercial use is not limited.
  - GPT-6.2 Sol (7.8): The package ships with zero runtime dependencies, offers MIT as an alternative to AGPL-3.0-or-later, and uses npm trusted publishing with provenance. OSV lists zero advisories, and 3.20.5 fixed an SVG memory exhaustion bug. The many in-package parsers still handle untrusted data, recent releases show one publisher, and the missing OpenSSF Scorecard leaves some controls unverified.

## Good

- It is pure TypeScript with zero dependencies, so the same code runs on Node, Deno, Bun, Cloudflare Workers and browsers.
- It reads and writes a very wide set of formats in plain JavaScript, including AVIF, JPEG XL, WebP, GIF and APNG animation, and HDR gain maps.
- It has built-in font text rendering, SVG rendering, compositing with blend modes, and filters.
- Development is very active, with recent hardening against hostile SVG, font and oversized inputs.

## Bad

- It is much slower than sharp's native libvips and loads whole images into memory, so it is a poor fit for heavy batch work.
- Releases depend on a single maintainer, and no funding is visible.
- The 4.0 release renames and removes APIs, so 3.x code needs a migration.
- Few projects use it and there are few independent write-ups, so AI agents and users have little shared experience to draw on.

## The numbers

- Downloads, 4 weeks: 860k
- In a year: ×6.4
- GitHub stars: 685
- Commits, 12 months: 655
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/imagescript/ImageScript
- npm: https://www.npmjs.com/package/imagescript

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.
