@napi-rs/image
@napi-rs/image@1.12.1
6/16/2026
What's Changed
- chore: bump up cross-platform-actions/action action to v0.31.0 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/173
- chore: bump up actions/cache action to v5 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/171
- chore: bump up GitHub Artifact Actions (major) by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/172
- chore: bump up cross-platform-actions/action action to v0.32.0 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/174
- chore: bump up Rust crate resvg to 0.46 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/175
- chore: bump up electron version to v40 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/177
- chore: bump up Rust crate fast_image_resize to v6 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/176
- chore: bump up Rust crate resvg to 0.47 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/178
- chore: bump up ava version to v7 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/180
- chore: bump up GitHub Artifact Actions (major) by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/179
- chore: bump up docker/setup-qemu-action action to v4 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/181
- chore: bump up electron version to v41 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/182
- chore: bump up Yarn to v4.13.0 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/183
- chore: bump up typescript version to v6 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/184
- chore: bump up debian Docker tag to bullseye-20260316 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/185
- chore: bump up debian Docker tag to bullseye-20260406 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/186
- chore: bump up cross-platform-actions/action action to v1 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/187
- ci: upgrade Node.js to 24 and Zig to 0.16.0 in CI by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/189
- chore: bump up Yarn to v4.14.0 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/188
- chore: bump up Yarn to v4.14.1 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/190
- chore: bump up debian Docker tag to bullseye-20260421 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/191
- chore: bump up ava version to v8 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/192
- chore: bump up @napi-rs/canvas version to v1 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/193
- chore: bump up electron version to v42 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/194
- chore: bump up debian Docker tag to bullseye-20260505 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/195
- chore: bump up cross-platform-actions/action action to v1.1.0 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/196
- fix: correct swapped EXIF orientation rotations (#199) by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/200
- chore: bump up all non-major dependencies by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/198
- chore: bump up npm-run-all2 version to v9 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/197
- fix(wasm): rebuild against emnapi 1.11.1 + 16MB stack so threaded codecs work in browser by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/201
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.12.0...@napi-rs/image@1.12.1
@napi-rs/image@1.12.0
12/8/2025
What's Changed
- ci: npm trusted publisher by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/145
- chore: bump up actions/checkout action to v5 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/146
- fix: webp build by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/147
- chore: bump up Yarn to v4.9.3 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/149
- chore: bump up Yarn to v4.9.4 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/150
- feat(png): add automatic gamma detection from PNG metadata for color-accurate quantization by @Copilot in https://github.com/Brooooooklyn/Image/pull/152
- chore: bump up electron version to v38 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/154
- chore(website): fix links to unoptimized images by @styfle in https://github.com/Brooooooklyn/Image/pull/156
- Fix typo in /docs/index.mdx by @aervxa in https://github.com/Brooooooklyn/Image/pull/161
- chore: bump up all non-major dependencies by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/153
- chore: bump up GitHub Artifact Actions (major) by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/163
- chore: bump up actions/setup-node action to v6 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/160
- chore: bump up actions/checkout action to v6 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/167
- chore: bump up lerna version to v9 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/157
- build: disable avx512 for Linux musl x86_64 by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/169
- chore: bump up electron version to v39 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/164
- chore: bump up node version to v24 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/166
- chore: bump up Rust crate oxipng to v10 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/168
- chore: upgrade all deps by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/170
New Contributors
- @Copilot made their first contribution in https://github.com/Brooooooklyn/Image/pull/152
- @styfle made their first contribution in https://github.com/Brooooooklyn/Image/pull/156
- @aervxa made their first contribution in https://github.com/Brooooooklyn/Image/pull/161
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.11.2...@napi-rs/image@1.12.0
@napi-rs/image@1.11.2
8/9/2025
What's Changed
- chore: bump up actions/download-artifact action to v5 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/144
- chore: bump up Rust crate libwebp-sys to 0.13 by @renovate[bot] in https://github.com/Brooooooklyn/Image/pull/143
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.11.1...@napi-rs/image@1.11.2
@napi-rs/image@1.11.1
7/25/2025
What's Changed
- ci: upgrade wasi-sdk to v25 by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/139
- chore: upgrade to NAPI-RS 3.0 stable by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/142
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.11.0...@napi-rs/image@1.11.1
@napi-rs/image@1.11.0
7/7/2025
What's Changed
- feat: metadataSync by @vsn4ik in https://github.com/Brooooooklyn/Image/pull/137
New Contributors
- @vsn4ik made their first contribution in https://github.com/Brooooooklyn/Image/pull/137
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.10.0...@napi-rs/image@1.11.0
@napi-rs/image@1.10.0
6/28/2025
What's Changed
Add aarch64-pc-windows-msvc target
- feat: upgrade all deps by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/132
- chore(image): use slice rather than Uint8Array by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/134
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.9.2...@napi-rs/image@1.10.0
@napi-rs/image@1.9.2
4/20/2024
What's Changed
- chore: remove libdeflater patch by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/89
- chore: bump up Yarn to v4.1.1 by @renovate in https://github.com/Brooooooklyn/Image/pull/90
- chore: bump up electron version to v30 by @renovate in https://github.com/Brooooooklyn/Image/pull/92
- chore: bump up all non-major dependencies by @renovate in https://github.com/Brooooooklyn/Image/pull/91
- chore: bump up @napi-rs/wasm-runtime version to ^0.2.0 by @renovate in https://github.com/Brooooooklyn/Image/pull/93
- refactor: use
no-const-enumby @kyranet in https://github.com/Brooooooklyn/Image/pull/94
New Contributors
- @kyranet made their first contribution in https://github.com/Brooooooklyn/Image/pull/94
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.9.1...@napi-rs/image@1.9.2
@napi-rs/image@1.9.1
2/22/2024
What's Changed
- chore: bump up electron version to v29 by @renovate in https://github.com/Brooooooklyn/Image/pull/87
- fix(image): wasm fallback logic in js-binding file by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/88
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.9.0...@napi-rs/image@1.9.1
@napi-rs/image@1.9.0
2/19/2024
What's Changed
- docs: update examples and site by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/85
- feat: upgrade resvg by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/86
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.8.0...@napi-rs/image@1.9.0
@napi-rs/image@1.8.0
2/14/2024
What's Changed
- chore: bump up all non-major dependencies by @renovate in https://github.com/Brooooooklyn/Image/pull/66
- chore: upgrade dependencies and CI template by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/73
- chore: Replace npm-run-all version with npm-run-all2 ^5.0.0 by @renovate in https://github.com/Brooooooklyn/Image/pull/80
- chore: bump up npm-run-all2 version to v6 by @renovate in https://github.com/Brooooooklyn/Image/pull/82
- feat: add wasm build by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/81
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.7.0...@napi-rs/image@1.8.0
@napi-rs/image@1.7.0
9/27/2023
🚨Security update for CVE-2023-4863
What's Changed
- feat: upgrade dependencies by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/50
- chore: bump up electron version to v26 by @renovate in https://github.com/Brooooooklyn/Image/pull/58
- chore: bump up Yarn to v3.6.2 by @renovate in https://github.com/Brooooooklyn/Image/pull/59
- chore: bump up Yarn to v3.6.3 by @renovate in https://github.com/Brooooooklyn/Image/pull/60
- chore: bump up actions/checkout action to v4 by @renovate in https://github.com/Brooooooklyn/Image/pull/62
- chore: bump up docker/setup-qemu-action action to v3 by @renovate in https://github.com/Brooooooklyn/Image/pull/63
- chore: bump up Rust crate mozjpeg-sys to v2 by @renovate in https://github.com/Brooooooklyn/Image/pull/61
- chore: upgrade dependencies by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/64
New Contributors
- @renovate made their first contribution in https://github.com/Brooooooklyn/Image/pull/58
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.6.1...@napi-rs/image@1.7.0
@napi-rs/image@1.6.1
3/12/2023
What's Changed
- chore: bump Nextra to 2.2.16 by @liby in https://github.com/Brooooooklyn/Image/pull/45
- docs: improve changelog parser by @liby in https://github.com/Brooooooklyn/Image/pull/46
- fix(docs): typo correction by @ggallon in https://github.com/Brooooooklyn/Image/pull/47
- perf(image): lazy load fontdb Database by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/49
New Contributors
- @ggallon made their first contribution in https://github.com/Brooooooklyn/Image/pull/47
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.6.0...@napi-rs/image@1.6.1
@napi-rs/image@1.6.0
2/27/2023
What's Changed
- change Buffer to Uint8Array in fromRgbaPixels by @KhafraDev in https://github.com/Brooooooklyn/Image/pull/41
- feat(image): support Transformer from SVG by @liby in https://github.com/Brooooooklyn/Image/pull/44
New Contributors
- @KhafraDev made their first contribution in https://github.com/Brooooooklyn/Image/pull/41
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.5.1...@napi-rs/image@1.6.0
@napi-rs/image@1.5.1
1/29/2023
1.5.1 (2023-01-29)
Bug Fixes
@napi-rs/image@1.5.0
1/17/2023
Core updates
Fast Resize
Powered by https://github.com/Cykooz/fast_image_resize
Performance
x86_64 (AVX2)
OS: Windows 11 x86_64
Kernel: 10.0.22621
CPU: AMD Ryzen 9 5950X (32) @ 3.400GHz
Memory: 2535MiB / 32055MiB
sharp resize: 415.966ms
@napi-rs/image resize: 529.884ms
fast resize: 316.731ms
ARM64 (NEON)
OS: macOS 13.1 22C65 arm64
Host: MacBookPro18,2
Kernel: 22.2.0
CPU: Apple M1 Max
Memory: 8915MiB / 65536MiB
sharp resize: 616.549ms
@napi-rs/image resize: 525.776ms
fast resize: 431.185ms
const output = await new Transformer(NASA).fastResize({
width: 1024,
filter: FastResizeFilter.Lanczos3,
}).png()
We are keeping the resize API because the ResizeFilter algorithm is different between the fast_image_resize and image crates.
overlay
writeFileSync(
'output-overlay-png.png',
await new Transformer(PNG).overlay(PNG, 200, 200).png()
)

What's Changed
- chore: add issue form templates by @liby in https://github.com/Brooooooklyn/Image/pull/32
- feat(image): implement
overlayby @liby in https://github.com/Brooooooklyn/Image/pull/33 - feat(image): provide fast resize method by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/34
- perf(image): make overlay lazy by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/35
New Contributors
- @liby made their first contribution in https://github.com/Brooooooklyn/Image/pull/32
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.4.4...@napi-rs/image@1.5.0
@napi-rs/image@1.4.4
1/3/2023
What's Changed
- chore(image): fix android build by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/30
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.4.3...@napi-rs/image@1.4.4
@napi-rs/image@1.4.3
1/3/2023
What's Changed
- Update oxipng by @Brooooooklyn in https://github.com/Brooooooklyn/Image/pull/29
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.4.2...@napi-rs/image@1.4.3
@napi-rs/image@1.4.2
12/20/2022
1.4.2 (2022-12-20)
Bug Fixes
@napi-rs/image@1.4.1
10/7/2022
1.4.1 (2022-10-07)
Note: Version bump only for package @napi-rs/image
@napi-rs/image@1.4.0
8/23/2022
1.4.0 (2022-08-23)
Features
@napi-rs/image@1.3.0
5/18/2022
1.3.0 (2022-05-18)
Features
- image: implement rawPixels and rawPixelsSync (43e3938)
@napi-rs/image@1.2.0
5/2/2022
1.2.0 (2022-05-02)
Features
@napi-rs/image@1.1.2
4/22/2022
1.1.2 (2022-04-22)
Bug Fixes
@napi-rs/image@1.1.1
4/21/2022
1.1.1 (2022-04-21)
Bug Fixes
- binding: resize options and jpeg compress implementation (b23c53b)
@napi-rs/image@1.1.0
4/19/2022
1.1.0 (2022-04-19)
Features
- async Transformer class (#9) (7cd00d4)
- image: implement png_quantize (66f5e0f)
- image: implement svg_min (5b916b3)
- image: support more operations on Transformer (af8ed99)
- image: support Transformer from raw rgba pixels (8d49a8c)
- support avif (81fc73a)
- support webp (e90ecdc)
- transform into monorepo (#3) (d0de72e)