FNImageClip裁剪时的图片质量为什么很差?看不清图了很模糊,有什么特殊设置吗?
代码如下:
FNImageClip.open({
rect: {
x: 0,
y: 0,
w: api.winWidth,
h: api.winHeight - 200
},
srcPath: src,
highDefinition:true,
style: {
mask: 'rgba(0,0,0,0.5)',
clip: {
w: 200,
h: 200,
x: (api.winWidth - 200) / 2,
y: (api.winHeight - 200) / 2,
borderColor: '#0f0',
borderWidth: 1,
appearance: 'rectangle'
}
},
fixedOn: api.frameName
}, function(ret, err) {
});
|