jimp breaking changes
jimp 2.0.0 (November 24, 2026) is its newest release with breaking changes, 42 of them. The first: jimp 2.0.0 requires Node.js 22 or later. Every breaking API change we have recorded in jimp on npm: 47 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.3.0, released December 4, 2026. Source repository
Its 2.0.0 release requires Node.js 22 or later. Node.js end of life dates.
- From 1.7.0 to 2.0.0: 42 breaking changes in 1 version.
- From 0.22.0 to 2.0.0: 46 breaking changes in 3 versions.
jimp 2.0.0 breaking changes
- Removed
Node.js versions older than 22 are no longer supported. Upgrade Node.js before updating jimp. github.com - Removed
Options that did nothing are removed, and rotate's resize modes are interpolated. Code passing those options may need updating. github.com - Removed
Jimp now requires Node.js 22 or later, so older Node.js versions no longer run it. github.com - Removed
BmpColor
BmpColor was removed in jimp 2.0.0 npmjs.com - Behavior changed
Blank lines in printed text are now kept, so rendered output changes for text containing them. github.com - Behavior changed
Blur radius, cover and contain alignment, resize alpha, autocrop, displace, circle, shadow and compareHashes now produce different results. github.com - Behavior changed
Greyscale results are rounded and color() uses a different luminance, so output pixels can differ from before. github.com - Behavior changed
Invalid CSS colors now throw an error instead of being accepted silently. github.com - Behavior changed
Composite across Jimp classes, mime and background cloning, and per-extension write() option typing have changed behavior. github.com - Behavior changed
blur
The radius is rounded and clamped to 1-256, so blur output changes for other radii. github.com - Behavior changed
circle
A radius of 0 is now treated as 0 rather than its previous meaning. github.com - Behavior changed
color
color with the greyscale action now gives the same result as greyscale() instead of tinycolor's HSL greyscale. github.com - Behavior changed
compareHashes
compareHashes now decodes hash() output so distances match pHash(), changing results. github.com - Behavior changed
composite
Negative opacitySource or opacityDest now clamp to 0 instead of resetting to 1. github.com - Behavior changed
contain
Any invalid align now throws, and an axis with no flag is centered. github.com - Behavior changed
contrast
contrast now scales around 127.5 and rounds differently, so output changes. github.com - Behavior changed
cover
Any invalid align now throws, and an axis with no flag is centered. github.com - Behavior changed
crop
crop clamps the rectangle to the image and throws when nothing is left, so out-of-bounds crops change. github.com - Behavior changed
cssColorToHex
Invalid color strings throw instead of silently becoming opaque black, so fix bad color values. github.com - Behavior changed
getPixelColor
NaN coordinates now throw instead of reading pixel (0, 0). github.com - Behavior changed
getPixelIndex
NaN coordinates now throw instead of reading pixel (0, 0). github.com - Behavior changed
greyscale
greyscale() rounds instead of truncating, so some grey levels differ from before. github.com - Behavior changed
Jimp.read
Strings that are not http, https, data or blob URLs are read as files, so a missing file now throws ENOENT. github.com - Behavior changed
measureText
measureText now returns the widest line width instead of skipping newlines, so results change. github.com - Behavior changed
measureTextHeight
Every line break starts a new line, so measureTextHeight counts empty lines that used to be collapsed. github.com - Behavior changed
otsuThreshold
otsuThreshold rounds luminance like greyscale now, so its output differs. github.com - Behavior changed
posterize
posterize now rounds to the nearest of n levels instead of rounding down, so output changes. github.com - Behavior changed
print
Text with double line breaks prints an extra line, so layouts with blank lines shift. github.com - Behavior changed
quantize
Colors below 1 throw, and below 2 with rgbquant, so pass valid color counts. github.com - Behavior changed
resize
The default resizer premultiplies alpha, so colors next to transparent pixels change. github.com - Behavior changed
rotate
When rotate gets a ResizeStrategy mode it interpolates instead of taking the nearest pixel, so output changes. github.com - Behavior changed
scan
Regions are clamped to the image, so scan no longer visits outside pixels. github.com - Behavior changed
setPixelColor
Calls to setPixelColor with coordinates outside the image no longer paint edge pixels. github.com - Behavior changed
threshold
threshold greyscales by default, so its output changes with the new greyscale rounding. github.com - Behavior changed
write
write with a string path rejects options no format takes, and GIF, TIFF and BMP take no options. github.com - Default changed
PNG output now uses the smallest lossless colour type by default, so encoded files may differ from before. github.com - Default changed
scanIterator
Without width and height, scanIterator covers the rest of the image from the given point. github.com - Signature changed
defaultFormats
Was const defaultFormats: (typeof bmp | typeof msBmp | typeof gif | typeof jpeg | typeof png | typeof tiff)[]; now const defaultFormats: (typeof msBmp | typeof bmp | typeof gif | typeof msIcon | typeof ico | typeof jpeg | typeof png |... npmjs.com - Signature changed
defaultPlugins
Was const defaultPlugins: ({blit<I extends import("@jimp/types").JimpClass>(image: I, options: blit.BlitOptions): I;} | {blur<I extends import("@jimp/types").JimpClass>(image: I, r: number): I; gaussian<I extends... npmjs.com - Signature changed
Edge
Was export {type Edge} from "@jimp/types"; now export {Edge} from "@jimp/types". npmjs.com - Signature changed
Jimp
Was const Jimp: {new (options?: import("@jimp/core").JimpConstructorOptions): {bitmap: import("@jimp/types").Bitmap; background: number; formats: import("@jimp/types").Format<any>[]; mime?: string; inspect(): string; toString(): string... npmjs.com - Signature changed
JimpMime
Was const JimpMime: {bmp: "image/bmp"; gif: "image/gif"; jpeg: "image/jpeg"; png: "image/png"; tiff: "image/tiff";}; now const JimpMime: {bmp: "image/bmp"; gif: "image/gif"; ico: "image/x-icon"; jpeg: "image/jpeg"; png: "image/png"; tiff... npmjs.com
jimp 1.7.0 breaking changes
- Signature changed
Jimp
Was const Jimp: {new (options?: import("@jimp/core").JimpConstructorOptions): {bitmap: import("@jimp/types").Bitmap; background: number; formats: import("@jimp/types").Format<any>[]; mime?: string; inspect(): string; toString(): string... npmjs.com
jimp 1.0.2 breaking changes
- Removed
Several unusual API surfaces were removed and the main API was reshaped, so code relying on the removed parts must be updated. github.com - Removed
default
default was removed in jimp 1.0.2 npmjs.com - Signature changed
All methods were refactored to accept an options object instead of the previous arguments, so existing calls must be rewritten. github.com
jimp 0.22.0 breaking changes
- Behavior changed
loadFromURL
Options passed to loadFromURL in Node were forwarded to phin; options not supported by the fetch API will stop working and must be removed or adjusted. github.com
Related packages
- @jimp/plugin-blit
- @jimp/plugin-circle
- @jimp/plugin-mask
- @jimp/plugin-threshold
- @jimp/plugin-print
- @jimp/plugin-blur
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.