vue-core-image-upload icon indicating copy to clipboard operation
vue-core-image-upload copied to clipboard

图片压缩以后是黑色的?

Open liuxiang511240 opened this issue 7 years ago • 4 comments

jpg不压缩可以正常显示,压缩以后就变成黑的了 image

image

liuxiang511240 avatar May 04 '18 10:05 liuxiang511240

是啊

gaocc2016 avatar May 29 '18 01:05 gaocc2016

@liuxiang511240 黑色问题,这个是在 chrome 桌面测试就有了么?我本地测试一直没有问题。

JackPu avatar Jun 06 '18 11:06 JackPu

@liuxiang511240 @gaocc2016 @JackPu jpg图片压缩上传为黑色的问题,目前我有以下解决办法供各位参考: 版本:2.4.5 daycaca/src/index.js image vue-core-image-upload.vue 将 import daycaca from 'daycaca; 改为import daycaca from 'daycaca/src/index.js';

Aron0429 avatar Jun 14 '18 06:06 Aron0429

目前自测,2M的jpg,按compress="50",可以压缩到300K左右

Aron0429 avatar Jun 14 '18 06:06 Aron0429