Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Luban压缩忽略的文件,沙盒路径错误 #2504

Closed
q2564063 opened this issue Oct 9, 2022 · 0 comments
Closed

Luban压缩忽略的文件,沙盒路径错误 #2504

q2564063 opened this issue Oct 9, 2022 · 0 comments

Comments

@q2564063
Copy link

q2564063 commented Oct 9, 2022

Current use version?

当前使用的版本是多少?

```3.10.6

## Will this problem occur in demo?
#### Demo能否复现这问题?

```Demo可以复现这个问题

```Demo可以复现这个问题

## Describe the problem or provide an error log?
#### 描述问题或提供错误log?

```Demo选择压缩图片,将Luban压缩的ignore by 设置为1000,Luban.with(context).load(source).ignoreBy(1000)

```小于1000kb的图片路径都是绝对路径,并不是沙盒路径(已设置SandboxFileEngine)


 I/PictureSelectorTag: 文件名: 测试.jpg
 I/PictureSelectorTag: 是否压缩:true
 I/PictureSelectorTag: 压缩:/storage/emulated/0/Pictures/WeiXin/测试.jpg
 I/PictureSelectorTag: 初始路径:content://media/external/images/media/145
 I/PictureSelectorTag: 绝对路径:/storage/emulated/0/Pictures/WeiXin/测试.jpg
 I/PictureSelectorTag: 是否裁剪:false
 I/PictureSelectorTag: 裁剪路径:null
 I/PictureSelectorTag: 是否开启原图:false
 I/PictureSelectorTag: 原图路径:null
 I/PictureSelectorTag: 沙盒路径:/storage/emulated/0/Pictures/WeiXin/测试.jpg
 I/PictureSelectorTag: 水印路径:null
 I/PictureSelectorTag: 视频缩略图:null
 I/PictureSelectorTag: 原始宽高: 675x1200
 I/PictureSelectorTag: 裁剪宽高: 0x0
 I/PictureSelectorTag: 文件大小: 202.72KB
 I/PictureSelectorTag: 文件时长: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants