@jimp/plugin-dither breaking changes
@jimp/plugin-dither 2.0.0 (November 24, 2026) is its newest release with breaking changes, 33 of them. The first: @jimp/plugin-dither 2.0.0 requires Node.js 22 or later. Every breaking API change we have recorded in @jimp/plugin-dither on npm: 33 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
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.
@jimp/plugin-dither 2.0.0 breaking changes
- Removed
Jimp now requires Node.js 22 or later, so upgrade the runtime before updating. github.com - Removed
colorSpace
The colorSpace option had no effect and is removed from the wasm encoders. github.com - Behavior changed
Wasm encoders now throw when given options they do not recognize. github.com - Behavior changed
Invalid CSS color strings throw instead of silently becoming opaque black; fix any color values that were invalid. github.com - Behavior changed
The release now requires Node.js 22 or later. Users on older Node.js versions must upgrade Node.js before installing this release. github.com - Behavior changed
alignmentY
alignmentY without maxHeight now aligns within the image below y instead of being ignored. github.com - Behavior changed
blur
Blur rounds the radius and clamps it to 1-256; gaussian accepts fractional radii below 1. github.com - Behavior changed
color
color with the greyscale action now uses the same luminance as greyscale() instead of HSL lightness. github.com - Behavior changed
compareHashes
compareHashes now decodes hash() output so distances match pHash(), changing returned values. github.com - Behavior changed
composite
Negative opacitySource and opacityDest now clamp to 0 instead of resetting to 1. github.com - Behavior changed
contain
contain now throws for any invalid align value and centers an axis with no flag. github.com - Behavior changed
contrast
Contrast scales around 127.5 with symmetric rounding, so results differ from before. github.com - Behavior changed
convolute
Convolute convolves alpha by default; pass preserveAlpha: true to leave alpha alone. github.com - Behavior changed
cover
cover now throws for any invalid align value and centers an axis with no flag. github.com - Behavior changed
crop
Crop regions are clamped to the image and crop throws if nothing would be left. github.com - Behavior changed
Edge.WRAP
Edge.WRAP now wraps coordinates more than one image away, changing results for far-off coordinates. github.com - Behavior changed
getPixelIndex
NaN coordinates now throw instead of reading pixel (0, 0). github.com - Behavior changed
greyscale
greyscale output changes by one level for many grey values; expect different pixels after upgrading. github.com - Behavior changed
Jimp.read
Strings that are not http(s), data or blob URLs are read as files, so a missing file now throws. github.com - Behavior changed
measureText
measureText now returns the width of the widest line instead of skipping newlines. github.com - Behavior changed
measureTextHeight
Empty lines are now counted, so measured heights and vertical alignment change. github.com - Behavior changed
otsuThreshold
otsuThreshold rounds luminance like greyscale, so its output differs from before. github.com - Behavior changed
posterize
Posterize now rounds to the nearest of n evenly spaced levels, changing output. github.com - Behavior changed
print
Blank lines are now printed as lines, so text with double line breaks gains extra lines. github.com - Behavior changed
quantize
quantize now throws a clear error for colors below 1, or below 2 with rgbquant. github.com - Behavior changed
resize
The default resizer premultiplies alpha, so resized colors next to transparent pixels change. github.com - Behavior changed
rotate
Passing a ResizeStrategy mode to rotate now interpolates rotated pixels instead of picking the nearest pixel. github.com - Behavior changed
scan
Scan regions are clamped, so out-of-bounds pixels are no longer visited. github.com - Behavior changed
scanIterator
Width and height now default to the rest of the image instead of the previous values. github.com - Behavior changed
setPixelColor
Coordinates outside the image are now ignored instead of painting the edge pixel; check code relying on that. github.com - Behavior changed
threshold
threshold greyscales by default, so its output changes with the new greyscale rounding. github.com - Behavior changed
write
GIF, TIFF and BMP take no encode options, and write with a string path rejects options no format accepts. github.com - Signature changed
methods
Was const methods: {dither<I extends JimpClass>(image: I): I;}; now const methods: {dither<I extends JimpClass>(image: I, options?: DitherOptions): I;}. npmjs.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.