Packages

@napi-rs/canvas

1.1.0 · 30 Oct 2026MIT47.9M / weekRepositoryHomepagenpmAtom feed

Your version

0.0.2

27 Mar 2021Where it was published

0.1.100 is the newest release of 0.0.x.

In short

16 new1 faster9 fixed

Release note

Bug Fixes

  • Bitmap destructor

  • Build on windows

  • Compat with Node.js readonly error messages

  • Eslint & vscode config ignore

  • Image shadow

  • Image src getter

  • Setters on readonly properties

  • Sync lock file

  • Transform matrix config

Features

  • Add drawImage poc

  • Add image class poc

  • Add image SkData field poc

  • ImageData relates API and tests

  • Implement image pattern

  • Scale and rotate

  • Skia m89

  • Support all drawImage variants

  • Support context alpha

  • Support creating SkImage

  • Support getContextAttributes

  • Support isPointInPath

  • Support isPointInStroke

  • Support naturalWidth/naturalHeight/complete/alt

  • Sync skia m89

  • Text states and font styles

Performance Improvements

  • Disable image data copy