jinzhe / crop

无依赖的图片裁剪库

Home Page:https://jinzhe.github.io/crop/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

无依赖的图片裁剪库

demo.gif

安装

npm install --save @zee.kim/crop

使用

new crop({
    width: 300,
    height: 300,
    //url:"", //默认显示图片
    success: function (data) {
        console.log(data);//这是个base64 图片字符串
    }
});

About

无依赖的图片裁剪库

https://jinzhe.github.io/crop/

License:MIT License


Languages

Language:JavaScript 100.0%