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

PNG size constraint not working #194

Open
tizisdeepan opened this issue Jan 25, 2022 · 2 comments
Open

PNG size constraint not working #194

tizisdeepan opened this issue Jan 25, 2022 · 2 comments

Comments

@tizisdeepan
Copy link

I set the format as PNG and size constraint to 1 MB but the result I'm getting is larger than the specified size.

Actual Image size -> 4 MB
Size constraint -> 1 MB
Compressed File size -> 13 MB

@dattran-pt19
Copy link

I'm facing the same issue, have you been resolved it?

@vishalpatel1327
Copy link

vishalpatel1327 commented May 20, 2022

that's y i again move on old version
id.zelory:compressor:2.1.1

that's working very well

just put file = Compressor(activity).setQuality(80).compressToFile(file)

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