Skip to content

解决orientation旋转bug+优化内存占用

Latest

Choose a tag to compare

@hss01248 hss01248 released this 09 Jun 04:28
· 2 commits to master since this release
refactor(luban): 优化图片压缩处理逻辑并改进资源管理

- 移除不必要的 ByteArrayOutputStream 中间流操作
- 直接将位图压缩到文件输出流中以减少内存占用
- 在 Engine 类中添加 OutOfMemoryError 异常处理
- 修复 EXIF 读取时的文件流管理问题
- 优化 Bitmap 缩放时的内存回收逻辑
- 修复异步压缩中的空指针检查逻辑