You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Image objects now return a promise from their decode() method allowing for async loading without the loadImage helper.
Bugfixes
Calling drawImage with a Canvas object as the argument now uses a Skia Pict rather than a Drawable as the interchange format, meaning it can actually respect the canvas's current globalAlpha and globalCompositeOperation state (fixed #6).
Improved some spurious error messages when trying to generate a graphics file from a canvas whose width and/or height was set to zero (fixed #5).
CanvasPatterns now respect the imageSmoothingEnabled setting
The counterclockwise arg to ellipse and arc is now correctly treated as optional.
Misc. Improvements
Made the console.log representations of the canvas-related objects friendlier.
Added new test suites for Path2D, Image, and Canvas’s format support.
Created workflows to automate precompiled binary builds, testing, and npm package updating.