参数设置width和height太大时 选框效果不好
Closed this issue · 1 comments
jiangstack commented
需求是:需要把用户截图裁剪成1000*600;
我在参数设置时设置width和height为1000和600
在手机上截图选框太大,失去选框的效果
dntzhang commented
new AlloyCrop({
image_src: "img src",
circle: true, // optional parameters , the default value is false
width: 200, // crop width
height: 100, // crop height
output: 2, // output resolution --> 400*200
ok: function (base64, canvas) { },
cancel: function () { },
ok_text: "yes", // optional parameters , the default value is ok
cancel_text: "no" // optional parameters , the default value is cancel
});
今天早上升级了一版,支持 output设置输出分辨率倍数