比如现在拍的照片是300kb大小,裁剪后变成6MB大小。如何才能让大小不变动这么大

l***@thinmoo.com
- 发布:2021-03-27 14:25
- 更新:2021-03-27 14:56
- 阅读:949
裁剪过后图片变大
分类:uni-app
4 个回复
陌上华年
用的是什么方式裁剪?啥也没说。。。
l***@thinmoo.com (作者)
https://ext.dcloud.net.cn/plugin?id=404 这个插件
陌上华年
fileType值设为jpg
quality值设为0.5 (但是这个值现在官方出了BUG,暂时无效)
l***@thinmoo.com (作者)
谢谢大佬