# What changed in @napi-rs/image

> 11 changes in @napi-rs/image 1 from its official release notes, upgrade guides and advisories: 1 breaking, 3 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/@napi-rs/image/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @napi-rs/image 1

### Breaking changes

- Replaced GPL imagequant with a clean-room MIT implementation of pngQuantize. (1.13.0) — [release notes](https://github.com/Brooooooklyn/Image/releases/tag/%40napi-rs/image%401.13.0)

### New APIs and options

- Adds composite() with sharp blend modes, gravity, and tiling. (1.15.0) — [release notes](https://github.com/Brooooooklyn/Image/releases/tag/%40napi-rs/image%401.15.0)
- Adds native HEIC decoding and encoding on macOS through Apple ImageIO, without bundling an HEVC codec. (1.14.0) — [release notes](https://github.com/Brooooooklyn/Image/releases/tag/%40napi-rs/image%401.14.0)
- Adds opacity(factor) to scale the alpha channel for whole-image transparency adjustments. (1.14.0) — [release notes](https://github.com/Brooooooklyn/Image/releases/tag/%40napi-rs/image%401.14.0)

### Performance

- The quantizer is about 1.5–2x faster and includes an Oklab/Ostromoukhov quality pass, with SIMD verified on x86/ARM. (1.15.0) — [release notes](https://github.com/Brooooooklyn/Image/releases/tag/%40napi-rs/image%401.15.0)
- Added runtime-dispatched 4-lane SIMD for pngQuantize's nearest-palette argmin. (1.13.0) — [release notes](https://github.com/Brooooooklyn/Image/releases/tag/%40napi-rs/image%401.13.0)

### Behavior and default changes

- Adds native HEIC decoding and encoding on Windows through WIC; the backend is 8-bit, opaque-only, and exposes a Lossless mode. (1.14.0) — [release notes](https://github.com/Brooooooklyn/Image/releases/tag/%40napi-rs/image%401.14.0)

### Fixes and other changes

- metadata() now reflects pending transforms. (1.14.0) — [release notes](https://github.com/Brooooooklyn/Image/releases/tag/%40napi-rs/image%401.14.0)
- SVG content now scales to fill the upscaled raster instead of leaving padding. (1.14.0) — [release notes](https://github.com/Brooooooklyn/Image/releases/tag/%40napi-rs/image%401.14.0)
- The SVG format now reports as "svg". (1.14.0) — [release notes](https://github.com/Brooooooklyn/Image/releases/tag/%40napi-rs/image%401.14.0)
- Fixed detect_gamma_from_png_info. (1.13.0) — [release notes](https://github.com/Brooooooklyn/Image/releases/tag/%40napi-rs/image%401.13.0)
