-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
这个库也不维护了吗? #391
Comments
好好的一个库没有大佬维护了。难搞,现在传图片Uri压缩都获取不到图片路径了 |
|
这个库,好久没更新了估计没人维护了,其实应该做些适配的工作,量应该不大
发自我的小米手机
在 ZHANG Hua ***@***.***>,2021年4月29日 上午10:50写道:
好好的一个库没有大佬维护了。难搞,现在传图片Uri压缩都获取不到图片路径了
Uri必须是文件路径格式,不能是Android的数据库查出的Uri,在源码里 Checker.needCompress()里面只能处理文件绝对路径,如果文件错误、不存在就不会压缩,会直接返回Fuile(Uri.toString())。所以传入的Uri必须是文件路径
.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#391 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADAIS65GTJE4372Z6BBL5TDTLDCN7ANCNFSM4WKHQG4Q>.
|
作者是不是不维护了,哭 |
估计作者转行跑路了 |
用kotlin改了下, 推荐使用uri方式操作文件: implementation 'com.github.javakam:file.compressor:x.x.0@aar' |
开源的库一般过不了一两年就会被废弃。极少作者会一直维护 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: