paint-core
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

paint-core

some paint code based on konva

usage

import { getPaintData } from 'paint-core';

const data = await getPaintData(data, {
  format: 'png' // or jpg
  width: 500 // paint width. 500 by default;
  output: 'base64' // or local_file
  fileUrl: '' // a local file address. Required when output is local_file
  quality: 1 // paint quality 0 to 1
});


Readme

Keywords

none

Package Sidebar

Install

npm i paint-core

Weekly Downloads

2

Version

1.1.0

License

ISC

Unpacked Size

5.12 MB

Total Files

15

Last publish

Collaborators

  • godzillahe