Releases: Brooooooklyn/Image
@napi-rs/[email protected]
What's Changed
- chore: remove libdeflater patch by @Brooooooklyn in #89
- chore: bump up Yarn to v4.1.1 by @renovate in #90
- chore: bump up electron version to v30 by @renovate in #92
- chore: bump up all non-major dependencies by @renovate in #91
- chore: bump up @napi-rs/wasm-runtime version to ^0.2.0 by @renovate in #93
- refactor: use
no-const-enum
by @kyranet in #94
New Contributors
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/[email protected]...@napi-rs/[email protected]
@napi-rs/[email protected]
What's Changed
- chore: bump up electron version to v29 by @renovate in #87
- fix(image): wasm fallback logic in js-binding file by @Brooooooklyn in #88
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/[email protected]...@napi-rs/[email protected]
@napi-rs/[email protected]
What's Changed
- docs: update examples and site by @Brooooooklyn in #85
- feat: upgrade resvg by @Brooooooklyn in #86
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/[email protected]...@napi-rs/[email protected]
@napi-rs/[email protected]
What's Changed
- chore: bump up all non-major dependencies by @renovate in #66
- chore: upgrade dependencies and CI template by @Brooooooklyn in #73
- chore: Replace npm-run-all version with npm-run-all2 ^5.0.0 by @renovate in #80
- chore: bump up npm-run-all2 version to v6 by @renovate in #82
- feat: add wasm build by @Brooooooklyn in #81
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/[email protected]...@napi-rs/[email protected]
@napi-rs/[email protected]
🚨Security update for CVE-2023-4863
What's Changed
- feat: upgrade dependencies by @Brooooooklyn in #50
- chore: bump up electron version to v26 by @renovate in #58
- chore: bump up Yarn to v3.6.2 by @renovate in #59
- chore: bump up Yarn to v3.6.3 by @renovate in #60
- chore: bump up actions/checkout action to v4 by @renovate in #62
- chore: bump up docker/setup-qemu-action action to v3 by @renovate in #63
- chore: bump up Rust crate mozjpeg-sys to v2 by @renovate in #61
- chore: upgrade dependencies by @Brooooooklyn in #64
New Contributors
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/[email protected]...@napi-rs/[email protected]
@napi-rs/[email protected]
What's Changed
- chore: bump Nextra to 2.2.16 by @liby in #45
- docs: improve changelog parser by @liby in #46
- fix(docs): typo correction by @ggallon in #47
- perf(image): lazy load fontdb Database by @Brooooooklyn in #49
New Contributors
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/[email protected]...@napi-rs/[email protected]
@napi-rs/[email protected]
What's Changed
- change Buffer to Uint8Array in fromRgbaPixels by @KhafraDev in #41
- feat(image): support Transformer from SVG by @liby in #44
New Contributors
- @KhafraDev made their first contribution in #41
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/[email protected]...@napi-rs/[email protected]
@napi-rs/[email protected]
@napi-rs/[email protected]
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 #32
- feat(image): implement
overlay
by @liby in #33 - feat(image): provide fast resize method by @Brooooooklyn in #34
- perf(image): make overlay lazy by @Brooooooklyn in #35
New Contributors
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/[email protected]...@napi-rs/[email protected]
@napi-rs/[email protected]
What's Changed
- chore(image): fix android build by @Brooooooklyn in #30
Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/[email protected]...@napi-rs/[email protected]