1.2.0 • Published 4 years ago

@digital-magick/canvas2image v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

canvas2image

npm language license: GPL v3 canvas2image

Implementation of canvas2image in Typescript. It is a tool to save or convert a canvas to an image.

Installation

npm i @digital-magick/canvas2image

Usage

Downloading an image from a canvas to your machine:

import { CanvasToImage } from '@digital-magick/canvas2image';

CanvasToImage.saveAsImage(this.canvas, 'png', 'image.png');

References

https://github.com/hongru/canvas2image

License

MIT

1.2.0

4 years ago

1.1.0

4 years ago