slim-image-crop

0.0.2 • Public • Published

Install

npm i slim-image-crop
yarn add slim-image-crop

Apply:

const editor = new Editor("#editor");

const url = "https://www.elle.vn/wp-content/uploads/2019/03/20/elle-viet-nam-phong-cach-thoi-trang-jisoo-Blackpink-2.png";
editor.draw(url2);
editor.setCropRatio(3/4);
editor.getCrop() // it will return base64 image

Readme

Keywords

Package Sidebar

Install

npm i slim-image-crop

Weekly Downloads

1

Version

0.0.2

License

ISC

Unpacked Size

45.2 kB

Total Files

21

Last publish

Collaborators

  • truongan106