---
title: "@jimp/core 2.0.0 Breaking Changes on npm | Since.dev"
description: "What each @jimp/core release removed, renamed or changed: 39 breaking changes in 1 version on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@jimp/core
last_updated: 2026-12-04
---

# @jimp/core breaking changes

@jimp/core 2.0.0 (November 24, 2026) is its newest release with breaking changes, 39 of them. The first: Removes options that had no effect in the image format and rotate plugins in @jimp/core 2.0.0. Every breaking API change we have recorded in @jimp/core on npm: 39 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.3.0`, released December 4, 2026. [Source repository](https://github.com/jimp-dev/jimp)

Its 2.0.0 release requires [Node.js 22](https://since.dev/calendar/nodejs/22.md) or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

## @jimp/core 2.0.0 breaking changes

@jimp/core 2.0.0, released November 24, 2026: 39 breaking changes.

- **Removed**  

Options that had no effect were removed, and rotate's resize modes were changed. Remove any code passing those options. [github.com](https://github.com/jimp-dev/jimp/releases/tag/v2.0.0)
- **Removed**  

Jimp now requires Node.js 22 or later. Node.js 18 and 20 are no longer supported. [github.com](https://github.com/jimp-dev/jimp/commit/79600e9104cc157c9d0ed35a139f0e3c7ae27982)
- **Removed** `write`  

write and getBuffer options for GIF, TIFF and BMP are typed as none, and write with a string path rejects options no format takes. [github.com](https://github.com/jimp-dev/jimp/commit/0cb5a2ce680cf8a7ae62cf8306ba98510168dc25)
- **Behavior changed**  

Passing an invalid CSS color now throws instead of being accepted, so code using invalid colors must be fixed. [github.com](https://github.com/jimp-dev/jimp/releases/tag/v2.0.0)
- **Behavior changed**  

Pixel calculations in these plugins changed, so output values differ from earlier versions. [github.com](https://github.com/jimp-dev/jimp/releases/tag/v2.0.0)
- **Behavior changed**  

Greyscale results are now rounded and color() uses the same luminance, so output pixels change for existing code. [github.com](https://github.com/jimp-dev/jimp/releases/tag/v2.0.0)
- **Behavior changed**  

Text without maxWidth is aligned differently, newlines are measured differently, and loadFont HTTP errors are reported differently. [github.com](https://github.com/jimp-dev/jimp/releases/tag/v2.0.0)
- **Behavior changed**  

Blank lines in printed text are now kept, so printed output changes for existing code. [github.com](https://github.com/jimp-dev/jimp/releases/tag/v2.0.0)
- **Behavior changed**  

Regions extending outside the image are now clamped to its bounds instead of being used as given. [github.com](https://github.com/jimp-dev/jimp/releases/tag/v2.0.0)
- **Behavior changed**  

Several plugins changed behavior, including blur radius, cover and contain alignment, resize alpha, autocrop, displace, circle, shadow and compareHashes. [github.com](https://github.com/jimp-dev/jimp/releases/tag/v2.0.0)
- **Behavior changed**  

Compositing across Jimp classes, mime and background cloning, reading Uint8Array and Blob, and per-extension write() option typing changed. [github.com](https://github.com/jimp-dev/jimp/releases/tag/v2.0.0)
- **Behavior changed** `blur`  

blur rounds the radius and clamps it to 1-256. [github.com](https://github.com/jimp-dev/jimp/commit/ef51d3c0c4df5191adee01924aa5407e187280c6)
- **Behavior changed** `color`  

color with the greyscale action now uses the same luminance as greyscale() instead of HSL lightness. [github.com](https://github.com/jimp-dev/jimp/commit/4f6db79f3e4827d2175cd10de49b1f9a6b865e97)
- **Behavior changed** `compareHashes`  

compareHashes decodes hash() output so distances now match pHash(). [github.com](https://github.com/jimp-dev/jimp/commit/ef51d3c0c4df5191adee01924aa5407e187280c6)
- **Behavior changed** `composite`  

Negative opacitySource and opacityDest now clamp to 0 instead of resetting to 1. [github.com](https://github.com/jimp-dev/jimp/commit/0cb5a2ce680cf8a7ae62cf8306ba98510168dc25)
- **Behavior changed** `contain`  

contain throws for any invalid align value and centers an axis with no flag. [github.com](https://github.com/jimp-dev/jimp/commit/ef51d3c0c4df5191adee01924aa5407e187280c6)
- **Behavior changed** `contrast`  

contrast now scales around 127.5 and gives different output, including contrast(-1) giving 128. [github.com](https://github.com/jimp-dev/jimp/commit/3e3fe83a4b8ca6b1c87ca269ec912cfdecc3b73d)
- **Behavior changed** `cover`  

cover throws for any invalid align value and centers an axis with no flag. [github.com](https://github.com/jimp-dev/jimp/commit/ef51d3c0c4df5191adee01924aa5407e187280c6)
- **Behavior changed** `crop`  

crop clamps its rectangle to the image and throws if nothing is left. [github.com](https://github.com/jimp-dev/jimp/commit/d734c83632f3dc7683cf8226131bfcaab59389ef)
- **Behavior changed** `cssColorToHex`  

Invalid CSS color strings now throw instead of becoming opaque black. [github.com](https://github.com/jimp-dev/jimp/commit/6270626dfc31235ecd73ff22933c47344b1215aa)
- **Behavior changed** `getPixelColor`  

getPixelColor now throws for NaN coordinates. [github.com](https://github.com/jimp-dev/jimp/commit/fad50e2935d09f9994dc0eb68da0aaac30f29b8c)
- **Behavior changed** `getPixelIndex`  

getPixelIndex, getPixelColor and setPixelColor now throw for NaN coordinates. [github.com](https://github.com/jimp-dev/jimp/commit/fad50e2935d09f9994dc0eb68da0aaac30f29b8c)
- **Behavior changed** `greyscale`  

greyscale() now rounds luminance, so output pixels differ from before. [github.com](https://github.com/jimp-dev/jimp/commit/4f6db79f3e4827d2175cd10de49b1f9a6b865e97)
- **Behavior changed** `measureTextHeight`  

measureTextHeight now counts empty lines, so measured heights grow. [github.com](https://github.com/jimp-dev/jimp/commit/8f1f4ca4ca6df27f097bf5794728dd1ec9983583)
- **Behavior changed** `otsuThreshold`  

otsuThreshold now rounds luminance, so its output can differ. [github.com](https://github.com/jimp-dev/jimp/commit/4f6db79f3e4827d2175cd10de49b1f9a6b865e97)
- **Behavior changed** `posterize`  

posterize now rounds to the nearest of n levels instead of always rounding down, so output changes. [github.com](https://github.com/jimp-dev/jimp/commit/3e3fe83a4b8ca6b1c87ca269ec912cfdecc3b73d)
- **Behavior changed** `print`  

Every line break starts a new line, so blank lines are now printed instead of collapsed. [github.com](https://github.com/jimp-dev/jimp/commit/8f1f4ca4ca6df27f097bf5794728dd1ec9983583)
- **Behavior changed** `quantize`  

quantize now throws for colors below 1, or below 2 with rgbquant. [github.com](https://github.com/jimp-dev/jimp/commit/3e3fe83a4b8ca6b1c87ca269ec912cfdecc3b73d)
- **Behavior changed** `resize`  

The default resizer premultiplies alpha, so colors next to transparent pixels change. [github.com](https://github.com/jimp-dev/jimp/commit/ef51d3c0c4df5191adee01924aa5407e187280c6)
- **Behavior changed** `rotate`  

rotate with a ResizeStrategy mode now interpolates the rotated pixels instead of taking the nearest pixel. [github.com](https://github.com/jimp-dev/jimp/commit/deb4c2b7ab0aee2d773324df1430d1c9a2fc8134)
- **Behavior changed** `scan`  

scan only visits pixels inside the image. [github.com](https://github.com/jimp-dev/jimp/commit/d734c83632f3dc7683cf8226131bfcaab59389ef)
- **Behavior changed** `scanIterator`  

scanIterator only visits pixels inside the image, and its width and height default to the rest of the image. [github.com](https://github.com/jimp-dev/jimp/commit/d734c83632f3dc7683cf8226131bfcaab59389ef)
- **Behavior changed** `setPixelColor`  

Calls to setPixelColor with coordinates outside the image no longer paint edge pixels. [github.com](https://github.com/jimp-dev/jimp/releases/tag/v2.0.0)
- **Behavior changed** `threshold`  

threshold greyscales by default, so its output changes with the new greyscale rounding. [github.com](https://github.com/jimp-dev/jimp/commit/4f6db79f3e4827d2175cd10de49b1f9a6b865e97)
- **Default changed**  

The default PNG colour type is now the smallest lossless option, so encoded output differs from earlier versions. [github.com](https://github.com/jimp-dev/jimp/releases/tag/v2.0.0)
- **Configuration changed**  

The package now requires Node.js 22 or later, so older Node.js versions must be upgraded before use. [github.com](https://github.com/jimp-dev/jimp/releases/tag/v2.0.0)
- **Signature changed** `composite`  

Was function composite\<I extends JimpClass>(baseImage: I, src: I, x?: number, y?: number, options?: {mode?: BlendMode; opacitySource?: number; opacityDest?: number;}): I; now function composite\<I extends JimpClass>(baseImage: I, src... [npmjs.com](https://www.npmjs.com/package/@jimp/core/v/2.0.0)
- **Signature changed** `createJimp`  

Was function createJimp\<Methods extends JimpPlugin\[\], Formats extends JimpFormat\[\]>({plugins: pluginsArg, formats: formatsArg}?: {plugins?: Methods; formats?: Formats;}): {new (options?: JimpConstructorOptions): {bitmap: Bitmap... [npmjs.com](https://www.npmjs.com/package/@jimp/core/v/2.0.0)
- **Signature changed** `JimpConstructorOptions`  

Was type JimpConstructorOptions = Bitmap | JimpSimpleConstructorOptions; now type JimpConstructorOptions = RawImageData | JimpSimpleConstructorOptions. [npmjs.com](https://www.npmjs.com/package/@jimp/core/v/2.0.0)

## Related packages

- [@jimp/plugin-blit](https://since.dev/packages/npm/@jimp/plugin-blit.md)
- [@jimp/plugin-circle](https://since.dev/packages/npm/@jimp/plugin-circle.md)
- [@jimp/plugin-mask](https://since.dev/packages/npm/@jimp/plugin-mask.md)
- [@jimp/plugin-threshold](https://since.dev/packages/npm/@jimp/plugin-threshold.md)
- [@jimp/plugin-print](https://since.dev/packages/npm/@jimp/plugin-print.md)
- [@jimp/plugin-blur](https://since.dev/packages/npm/@jimp/plugin-blur.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
