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.CUSTOM_GEAR #47

Open
douya40 opened this issue Jun 5, 2017 · 3 comments
Open

Luban.CUSTOM_GEAR #47

douya40 opened this issue Jun 5, 2017 · 3 comments

Comments

@douya40
Copy link

douya40 commented Jun 5, 2017

Luban.CUSTOM_GEAR 这样的压缩感觉有点问题,压缩的图片下载下来,比原图还要大很多,加上限制条件感觉没太大的用还是很大

@douya40
Copy link
Author

douya40 commented Jun 5, 2017

.setMaxSize(300) // 限制最终图片大小(单位:Kb)
.setMaxHeight(1920) // 限制图片高度
.setMaxWidth(1080)
我这样设置的,九张图,是4.88M,不知道你745Kb怎么设置的,求教

@Yanqilong
Copy link

我碰到的问题是,压缩图片来源非来自手机,也就是说不是手机拍照和手机截屏来的图片,压缩过后比原图大多了,原图16KB,压缩过后变成90KB,大大怎么解决?

@tqdream
Copy link

tqdream commented Aug 9, 2017

这个貌似不好解决吧。比如你截屏了一个图片,然后用系统的裁剪。可能也会出现裁剪之后的图片比原始的截屏文件还要大

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

3 participants