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

[BUG] Sometimes image get's flipped after optimization #12

Open
ZoidbergVA opened this issue Apr 7, 2022 · 0 comments
Open

[BUG] Sometimes image get's flipped after optimization #12

ZoidbergVA opened this issue Apr 7, 2022 · 0 comments

Comments

@ZoidbergVA
Copy link

In some rare cases (I've been using this for almost two years and it's the first time I've seen it) an image will get flipped upside down after optimization.

This image will do it https://drive.google.com/file/d/1Ye_PtJga0AHRJ8oQykAFdPQljdRkQiN7/view?usp=sharing with the following settings but other settings produce the result as well.

Result result = SlimJpg.file(inputStream)
				.maxVisualDiff(0.5)
				.maxFileWeightInKB(1500)
				.deleteMetadata()
				.optimize();

I also wanted to try it on the website https://slimjpg.herokuapp.com but I always get a 500 with that image

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

1 participant