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

Custom compress not giving the expected image size. #202

Open
azizconsoliads opened this issue Oct 18, 2022 · 2 comments
Open

Custom compress not giving the expected image size. #202

azizconsoliads opened this issue Oct 18, 2022 · 2 comments

Comments

@azizconsoliads
Copy link

I have used it according to the documentation but when am compressing image to a specific size like 2mb it will not compress image exact to 2mb. It will give result like 1.1mb or something like that.

@rubyna11
Copy link

Did you find the solution?

@logickoder
Copy link

@azizconsoliads I don't think it is possible to get an exact image size during compression, we can just compress against something but we can't really specify the exact size to get

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