## @napi-rs/image@1.9.2 4/20/2024 ## What's Changed * chore: remove libdeflater patch by [@Brooooooklyn](https://github.com/Brooooooklyn) in Brooooooklyn/Image/pull/89 * chore: bump up Yarn to v4.1.1 by [@renovate](https://github.com/renovate) in Brooooooklyn/Image/pull/90 * chore: bump up electron version to v30 by [@renovate](https://github.com/renovate) in Brooooooklyn/Image/pull/92 * chore: bump up all non-major dependencies by [@renovate](https://github.com/renovate) in Brooooooklyn/Image/pull/91 * chore: bump up @napi-rs/wasm-runtime version to ^0.2.0 by [@renovate](https://github.com/renovate) in Brooooooklyn/Image/pull/93 * refactor: use `no-const-enum` by [@kyranet](https://github.com/kyranet) in Brooooooklyn/Image/pull/94 ## New Contributors * [@kyranet](https://github.com/kyranet) made their first contribution in Brooooooklyn/Image/pull/94 **Full Changelog**: @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](https://github.com/renovate) in Brooooooklyn/Image/pull/87 * fix(image): wasm fallback logic in js-binding file by [@Brooooooklyn](https://github.com/Brooooooklyn) in Brooooooklyn/Image/pull/88 **Full Changelog**: @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](https://github.com/Brooooooklyn) in Brooooooklyn/Image/pull/85 * feat: upgrade resvg by [@Brooooooklyn](https://github.com/Brooooooklyn) in Brooooooklyn/Image/pull/86 **Full Changelog**: @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](https://github.com/renovate) in Brooooooklyn/Image/pull/66 * chore: upgrade dependencies and CI template by [@Brooooooklyn](https://github.com/Brooooooklyn) in Brooooooklyn/Image/pull/73 * chore: Replace npm-run-all version with npm-run-all2 ^5.0.0 by [@renovate](https://github.com/renovate) in Brooooooklyn/Image/pull/80 * chore: bump up npm-run-all2 version to v6 by [@renovate](https://github.com/renovate) in Brooooooklyn/Image/pull/82 * feat: add wasm build by [@Brooooooklyn](https://github.com/Brooooooklyn) in Brooooooklyn/Image/pull/81 **Full Changelog**: @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 - https://github.com/advisories/GHSA-j7hp-h8jx-5ppr - https://blog.isosceles.com/the-webp-0day/ ## What's Changed * feat: upgrade dependencies by [@Brooooooklyn](https://github.com/Brooooooklyn) in Brooooooklyn/Image/pull/50 * chore: bump up electron version to v26 by [@renovate](https://github.com/renovate) in Brooooooklyn/Image/pull/58 * chore: bump up Yarn to v3.6.2 by [@renovate](https://github.com/renovate) in Brooooooklyn/Image/pull/59 * chore: bump up Yarn to v3.6.3 by [@renovate](https://github.com/renovate) in Brooooooklyn/Image/pull/60 * chore: bump up actions/checkout action to v4 by [@renovate](https://github.com/renovate) in Brooooooklyn/Image/pull/62 * chore: bump up docker/setup-qemu-action action to v3 by [@renovate](https://github.com/renovate) in Brooooooklyn/Image/pull/63 * chore: bump up Rust crate mozjpeg-sys to v2 by [@renovate](https://github.com/renovate) in Brooooooklyn/Image/pull/61 * chore: upgrade dependencies by [@Brooooooklyn](https://github.com/Brooooooklyn) in Brooooooklyn/Image/pull/64 ## New Contributors * [@renovate](https://github.com/renovate) made their first contribution in Brooooooklyn/Image/pull/58 **Full Changelog**: @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](https://github.com/liby) in Brooooooklyn/Image/pull/45 * docs: improve changelog parser by [@liby](https://github.com/liby) in Brooooooklyn/Image/pull/46 * fix(docs): typo correction by [@ggallon](https://github.com/ggallon) in Brooooooklyn/Image/pull/47 * perf(image): lazy load fontdb Database by [@Brooooooklyn](https://github.com/Brooooooklyn) in Brooooooklyn/Image/pull/49 ## New Contributors * [@ggallon](https://github.com/ggallon) made their first contribution in Brooooooklyn/Image/pull/47 **Full Changelog**: @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](https://github.com/KhafraDev) in Brooooooklyn/Image/pull/41 * feat(image): support Transformer from SVG by [@liby](https://github.com/liby) in Brooooooklyn/Image/pull/44 ## New Contributors * [@KhafraDev](https://github.com/KhafraDev) made their first contribution in Brooooooklyn/Image/pull/41 **Full Changelog**: @napi-rs/image@1.5.1...@napi-rs/image@1.6.0 ## @napi-rs/image@1.5.1 1/29/2023 ## [1.5.1](https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.5.0...@napi-rs/image@1.5.1) (2023-01-29) ### Bug Fixes * **image:** update napi to fix electron create Buffer issues ([#39](https://github.com/Brooooooklyn/Image/issues/39)) ([e710222](https://github.com/Brooooooklyn/Image/commit/e7102224d67e390e0f897aea21a8da375676479d)) ## @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 ``` ```js 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 ```js writeFileSync( 'output-overlay-png.png', await new Transformer(PNG).overlay(PNG, 200, 200).png() ) ``` ![image](https://user-images.githubusercontent.com/3468483/212720571-b8fa3a6e-e9a9-44b3-b80f-b765f09d2ce3.png) ## What's Changed * chore: add issue form templates by [@liby](https://github.com/liby) in Brooooooklyn/Image/pull/32 * feat(image): implement `overlay` by [@liby](https://github.com/liby) in Brooooooklyn/Image/pull/33 * feat(image): provide fast resize method by [@Brooooooklyn](https://github.com/Brooooooklyn) in Brooooooklyn/Image/pull/34 * perf(image): make overlay lazy by [@Brooooooklyn](https://github.com/Brooooooklyn) in Brooooooklyn/Image/pull/35 ## New Contributors * [@liby](https://github.com/liby) made their first contribution in Brooooooklyn/Image/pull/32 **Full Changelog**: @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](https://github.com/Brooooooklyn) in Brooooooklyn/Image/pull/30 **Full Changelog**: @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](https://github.com/Brooooooklyn) in Brooooooklyn/Image/pull/29 **Full Changelog**: @napi-rs/image@1.4.2...@napi-rs/image@1.4.3 ## @napi-rs/image@1.4.2 12/20/2022 ## [1.4.2](https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.4.1...@napi-rs/image@1.4.2) (2022-12-20) ### Bug Fixes * **binding:** early return when input images are optimized ([#28](https://github.com/Brooooooklyn/Image/issues/28)) ([b695642](https://github.com/Brooooooklyn/Image/commit/b695642560e5aa43741e6a166119aa7b6d55145f)) ## @napi-rs/image@1.4.1 10/7/2022 ## [1.4.1](https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.4.0...@napi-rs/image@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](https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.3.0...@napi-rs/image@1.4.0) (2022-08-23) ### Features * **image:** upgrade libwebp to 0.7 ([#22](https://github.com/Brooooooklyn/Image/issues/22)) ([d3cde1c](https://github.com/Brooooooklyn/Image/commit/d3cde1c0e22bbd2b0e42ce604dcc668b6e364eb7)) ## @napi-rs/image@1.3.0 5/18/2022 # [1.3.0](https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.2.0...@napi-rs/image@1.3.0) (2022-05-18) ### Features * **image:** implement rawPixels and rawPixelsSync ([43e3938](https://github.com/Brooooooklyn/Image/commit/43e393860029cd3668aabf4d4362f8048faf4a6b)) ## @napi-rs/image@1.2.0 5/2/2022 # [1.2.0](https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.1.2...@napi-rs/image@1.2.0) (2022-05-02) ### Features * **image:** implement crop ([8bccc89](https://github.com/Brooooooklyn/Image/commit/8bccc89f54ede29897e156c01ce024ce9f13143b)) * **image:** support decode avif and webp ([#18](https://github.com/Brooooooklyn/Image/issues/18)) ([2813560](https://github.com/Brooooooklyn/Image/commit/2813560b9240c143d2c62fbea48d08918a9556af)) ## @napi-rs/image@1.1.2 4/22/2022 ## [1.1.2](https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.1.1...@napi-rs/image@1.1.2) (2022-04-22) ### Bug Fixes * **image:** manipulate image has no effect ([e224c25](https://github.com/Brooooooklyn/Image/commit/e224c259d709bba704549ca34fa7851da41a6a3d)) * **image:** webp encode LumaA8 and Luma8 ([2473680](https://github.com/Brooooooklyn/Image/commit/24736809eaa38237bd618b5860b12ae0ebe91bd6)) ## @napi-rs/image@1.1.1 4/21/2022 ## [1.1.1](https://github.com/Brooooooklyn/Image/compare/@napi-rs/image@1.1.0...@napi-rs/image@1.1.1) (2022-04-21) ### Bug Fixes * **binding:** resize options and jpeg compress implementation ([b23c53b](https://github.com/Brooooooklyn/Image/commit/b23c53bf1085ef16b345a995fe130144dcf16a8f)) ## @napi-rs/image@1.1.0 4/19/2022 # 1.1.0 (2022-04-19) ### Features * async Transformer class ([#9](https://github.com/Brooooooklyn/Image/issues/9)) ([7cd00d4](https://github.com/Brooooooklyn/Image/commit/7cd00d41814fb4a683c8b26762bbea558ebb87e2)) * **image:** implement png_quantize ([66f5e0f](https://github.com/Brooooooklyn/Image/commit/66f5e0f2ef1e8c692c87963f63994e030203cf14)) * **image:** implement svg_min ([5b916b3](https://github.com/Brooooooklyn/Image/commit/5b916b3c3cb93582eb0cbfccdf6a14e2d4deea65)) * **image:** support more operations on Transformer ([af8ed99](https://github.com/Brooooooklyn/Image/commit/af8ed994b74a3c8493bd5597b490ac636574c8a2)) * **image:** support Transformer from raw rgba pixels ([8d49a8c](https://github.com/Brooooooklyn/Image/commit/8d49a8c4d3e5e04f0c9ff66a07a1620d01241d67)) * support avif ([81fc73a](https://github.com/Brooooooklyn/Image/commit/81fc73a7ec3632160fbf17264ff7ec9306c08710)) * support webp ([e90ecdc](https://github.com/Brooooooklyn/Image/commit/e90ecdc4b97630a390982e5420790390891ade7c)) * transform into monorepo ([#3](https://github.com/Brooooooklyn/Image/issues/3)) ([d0de72e](https://github.com/Brooooooklyn/Image/commit/d0de72e2a884476878f49539c8bf4e85a7e1b2d1))