forJrking

Results 23 comments of forJrking

https://github.com/forJrking/KLuban 这个可以

https://github.com/forJrking/XLuban 试试我这个

> _No description provided._ https://github.com/forJrking/KLuban 试试

> 我认为大佬可以出一个参数,是否不压缩也转移图片,方便了一些批量操作 转移图片以后 缺少的问题 https://github.com/forJrking/KLuban 我基于luban写的内部始终转移图片

https://github.com/forJrking/XLuban 试试我基于Luban用kotlin开发的这个

https://github.com/forJrking/XLuban 分支 dev ``` ByteArrayOutputStream baos = new ByteArrayOutputStream(); //compress方法是把一个位图写到一个OutputStream中,参数一是位图对象,二是格式,三是压缩的质量,四是输出流 newimage.compress(Bitmap.CompressFormat.JPEG, 100, baos); //输出流转成输入流 InputStream inputimage = new ByteArrayInputStream(baos.toByteArray()); Luban.with(this) .load(inputimage) .filter { true } .compressObserver { onSuccess = {...

> D/Luban: handlerCatch -> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 另外还有个疑问,并行时,压缩后的数据是否和传入顺序一致,还是乱序 是一致的 后面排序了

> 您好,我在项目中引用了一个图片选择库,并且剪裁之后使用您的库进行压缩,然而打印日志发现了一个问题。剪裁出的圆形图片压缩后,file依然是原文件,使用其他剪裁出来的图片可以正常压缩,想请教一下是什么原因。 > 这是我用的图片库地址:https://github.com/yangpeixing/YImagePicker 首先检查你裁剪后的输出资源的正确性,裁剪api调用是否正确。一般裁剪后的图片大小已经可以接受了,考虑下是否还需要压缩

好的尽快安排,编译报错问题,经过验证并不存在。请尝试清除gradle缓存,或者如下: ``` configurations.all { resolutionStrategy.cacheChangingModulesFor 0, 'seconds' } ```

> > > > 编译报错问题解决了,是另外一个第三方库的问题 > > > > 1,1.0.2版本测试可以支持bitmap了谢谢 > > > > > > > > > 编译报错的问题是如何解决的?我还是无法导入 > > > > > > 具体啥错呢,我是引入aop 报错的,那个库跟最新版本的gradle 版本不兼容。 >...