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

# @jimp/plugin-rotate breaking changes

@jimp/plugin-rotate 2.0.0 (November 24, 2026) is its newest release with breaking changes, 28 of them. The first: Removes rotate options that had no effect and interpolates resize modes in @jimp/plugin-rotate 2.0.0. Every breaking API change we have recorded in @jimp/plugin-rotate on npm: 28 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/plugin-rotate 2.0.0 breaking changes

@jimp/plugin-rotate 2.0.0, released November 24, 2026: 28 breaking changes.

- **Removed**  

Options that did nothing were removed, and rotate's resize modes now interpolate. Stop passing removed options and check output where resize modes are used. [github.com](https://github.com/jimp-dev/jimp/releases/tag/v2.0.0)
- **Removed**  

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

The package now requires Node.js 22 or later. Upgrade the Node.js runtime before installing this version. [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** `circle`  

circle with radius 0 now means zero size. [github.com](https://github.com/jimp-dev/jimp/commit/ef51d3c0c4df5191adee01924aa5407e187280c6)
- **Behavior changed** `color`  

color() with greyscale no longer uses tinycolor's HSL lightness and produces the same result as greyscale(). [github.com](https://github.com/jimp-dev/jimp/commit/4f6db79f3e4827d2175cd10de49b1f9a6b865e97)
- **Behavior changed** `compareHashes`  

compareHashes now decodes hash() output so distances 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** `convolute`  

convolute convolves alpha by default; use preserveAlpha: true to keep alpha unchanged. [github.com](https://github.com/jimp-dev/jimp/commit/3e3fe83a4b8ca6b1c87ca269ec912cfdecc3b73d)
- **Behavior changed** `cover`  

Any invalid align now throws, and an axis with no flag is centered. [github.com](https://github.com/jimp-dev/jimp/commit/ef51d3c0c4df5191adee01924aa5407e187280c6)
- **Behavior changed** `crop`  

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

Invalid color strings throw instead of becoming opaque black, so code relying on black fallback must change. [github.com](https://github.com/jimp-dev/jimp/commit/6270626dfc31235ecd73ff22933c47344b1215aa)
- **Behavior changed** `getPixelColor`  

NaN coordinates now throw instead of reading pixel (0, 0). [github.com](https://github.com/jimp-dev/jimp/commit/fad50e2935d09f9994dc0eb68da0aaac30f29b8c)
- **Behavior changed** `getPixelIndex`  

NaN coordinates now throw instead of reading or writing pixel (0, 0). [github.com](https://github.com/jimp-dev/jimp/commit/fad50e2935d09f9994dc0eb68da0aaac30f29b8c)
- **Behavior changed** `greyscale`  

greyscale() rounds instead of truncating, so output differs for some pixels. [github.com](https://github.com/jimp-dev/jimp/commit/4f6db79f3e4827d2175cd10de49b1f9a6b865e97)
- **Behavior changed** `Jimp.read`  

Strings that are not http(s), data or blob URLs are read as files, so code relying on fetching them must change. [github.com](https://github.com/jimp-dev/jimp/commit/0cb5a2ce680cf8a7ae62cf8306ba98510168dc25)
- **Behavior changed** `measureText`  

measureText now returns the width of the widest line instead of skipping newlines. [github.com](https://github.com/jimp-dev/jimp/commit/11538769cea8b8a74185c727435d85bd7b5967c0)
- **Behavior changed** `measureTextHeight`  

measureTextHeight, vertical alignment and the cb's y now count empty lines. [github.com](https://github.com/jimp-dev/jimp/commit/8f1f4ca4ca6df27f097bf5794728dd1ec9983583)
- **Behavior changed** `posterize`  

posterize rounds to nearest levels, contrast is recentred, and threshold without autoGreyscale thresholds each channel. [github.com](https://github.com/jimp-dev/jimp/commit/3e3fe83a4b8ca6b1c87ca269ec912cfdecc3b73d)
- **Behavior changed** `print`  

Each line break starts a new line, so blank lines are printed and counted, changing output. [github.com](https://github.com/jimp-dev/jimp/commit/8f1f4ca4ca6df27f097bf5794728dd1ec9983583)
- **Behavior changed** `quantize`  

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

The default resizer premultiplies alpha, changing colors next to transparent pixels. [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** `scanIterator`  

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

Coordinates outside the image no longer paint the edge pixel; code relying on that must change. [github.com](https://github.com/jimp-dev/jimp/commit/fad50e2935d09f9994dc0eb68da0aaac30f29b8c)
- **Behavior changed** `threshold`  

threshold and otsuThreshold give different output because of the new greyscale rounding. [github.com](https://github.com/jimp-dev/jimp/commit/4f6db79f3e4827d2175cd10de49b1f9a6b865e97)
- **Behavior changed** `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)
- **Signature changed** `methods`  

Was const methods: {rotate\<I extends JimpClass>(image: I, options: RotateOptions): I;}; now const methods: {rotate\<I extends JimpClass>(image: I, options: RotateOptions): I; affine\<I extends JimpClass>(image: I, options: AffineOptions): I... [npmjs.com](https://www.npmjs.com/package/@jimp/plugin-rotate/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.
