Luban icon indicating copy to clipboard operation
Luban copied to clipboard

setFocusAlpha 无效(因为内部并没有被赋值)

Open donlan opened this issue 5 years ago • 2 comments

只在Builder中设置了了,但是在构建Luban实例的时候并没有被赋值,即使修改加入赋值,实际PNG也没有压缩,测试中使用的是Bitmap生产的PNG文件。

donlan avatar Mar 22 '19 06:03 donlan

我也遇到了这个问题,压缩出来的图片只能时png。 tagBitmap.compress(this.focusAlpha?CompressFormat.PNG:CompressFormat.JPEG, 60, stream);

siyujie avatar Apr 28 '19 04:04 siyujie

自己加上吧

Yumore avatar Jun 06 '19 02:06 Yumore