Skip to content

Continuation of the unmaintained library canvas2image, with support for ES6 Modules and new features.

License

Notifications You must be signed in to change notification settings

JonathanTreffler/canvas2image-2

Repository files navigation

npm npm bundle size npm GitHub Lint Workflow Status GitHub CodeQL Workflow Status GitHub GitHub last commit Maintenance

canvas2image 2

Canvas2Image cannot be imported as a module and seems to no longer be maintained.

This repository contains the original code, a few changes and a export statement.

Usage

npm install canvas2image-2
import canvas2image from "canvas2image-2";

canvas2image.convertToPNG(canvas, 400, 400);

About

Continuation of the unmaintained library canvas2image, with support for ES6 Modules and new features.

Topics

Resources

License

Stars

Watchers

Forks

Packages