Skip to content

Releases: Brooooooklyn/Image

@napi-rs/[email protected]

20 Apr 04:28
@napi-rs/[email protected]
c505d04
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/[email protected]...@napi-rs/[email protected]

@napi-rs/[email protected]

22 Feb 15:49
@napi-rs/[email protected]
6ae9c06
Compare
Choose a tag to compare

What's Changed

Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/[email protected]...@napi-rs/[email protected]

@napi-rs/[email protected]

19 Feb 15:45
@napi-rs/[email protected]
caeb47b
Compare
Choose a tag to compare

@napi-rs/[email protected]

14 Feb 04:03
@napi-rs/[email protected]
bba3bd3
Compare
Choose a tag to compare

What's Changed

Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/[email protected]...@napi-rs/[email protected]

@napi-rs/[email protected]

27 Sep 03:41
@napi-rs/[email protected]
f79ed56
Compare
Choose a tag to compare

🚨Security update for CVE-2023-4863

What's Changed

New Contributors

Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/[email protected]...@napi-rs/[email protected]

@napi-rs/[email protected]

12 Mar 12:33
@napi-rs/[email protected]
b1afb10
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/[email protected]...@napi-rs/[email protected]

@napi-rs/[email protected]

27 Feb 11:59
@napi-rs/[email protected]
f28270b
Compare
Choose a tag to compare

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

Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/[email protected]...@napi-rs/[email protected]

@napi-rs/[email protected]

29 Jan 05:53
@napi-rs/[email protected]
21d75bb
Compare
Choose a tag to compare

1.5.1 (2023-01-29)

Bug Fixes

  • image: update napi to fix electron create Buffer issues (#39) (e710222)

@napi-rs/[email protected]

16 Jan 16:03
@napi-rs/[email protected]
c111cd9
Compare
Choose a tag to compare

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()
)

image

What's Changed

New Contributors

  • @liby made their first contribution in #32

Full Changelog: https://github.com/Brooooooklyn/Image/compare/@napi-rs/[email protected]...@napi-rs/[email protected]

@napi-rs/[email protected]

03 Jan 13:50
@napi-rs/[email protected]
fdd80a1
Compare
Choose a tag to compare