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

Output size is larger than input size #57

Closed
rbozan opened this issue May 8, 2020 · 6 comments
Closed

Output size is larger than input size #57

rbozan opened this issue May 8, 2020 · 6 comments

Comments

@rbozan
Copy link

rbozan commented May 8, 2020

Schermafdruk van 2020-05-08 10-22-25

Using the example on https://donaldcwl.github.io/browser-image-compression/example/basic.html, the input size is 0.89mb and output size is 2.32mb using this image:

telefoon

@Donaldcwl
Copy link
Owner

@rbozan Can you provide the platform and browser version that you are using. I cannot reproduce your issue.
2020-05-19_01-44-00

@rbozan
Copy link
Author

rbozan commented May 18, 2020

I think you have to remove maxwidth input, so only maxsizemb to 1

@zehawki
Copy link

zehawki commented Nov 7, 2020

I can confirm similar as well. input size = 470KB. Output is 2MB, While constraint is 0.1MB

image

@Donaldcwl
Copy link
Owner

@zehawki Would you mind uploading the image(s) you have tested with the problem?

Donaldcwl added a commit that referenced this issue Nov 8, 2020
@zehawki
Copy link

zehawki commented Nov 8, 2020

Please see here https://gofile.io/d/QLRH8X

@Donaldcwl
Copy link
Owner

@zehawki Thanks, this issue has been fixed in the new version (v1.0.13).

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