-
Notifications
You must be signed in to change notification settings - Fork 124
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
Leanify tool provides better lossless compression than Oxipng. #418
Comments
Would be nice if some improvements could be shown in oxipng. Unfortunately I don't know enough about the subject matter to help much. I don't want to switch to leanfiy because I feel it's too "unsafe" (strips metadata that could affect rendering). |
This should be resolved by #499, which will avoid changing RGBA to indexed in very tiny images like these. Note some of the images here are currently indexed and oxipng will not attempt to convert indexed to RGBA (which might be smaller), so it still isn't optimal but it does give a better overall result than leanify. I did notice some of the images have some very faint partial transparency in them, which may be unintended. If you were to clean these up it should help improve compression, e.g. by allowing conversion to RGB+trns which might be smaller than RGBA. |
& further improved by #502. Thanks, @andrews05! 🙇🏾♂️ |
@TPS & further improved again 😄 |
https://github.com/JayXon/Leanify build from the source.
leanify -p
vsoxipng -arvZ -o max --strip all --fix
. Not all images were better compressed after using leanify on them, but overall results were better than Oxipng ones.Assets in this repository were used for this test https://github.com/Waoweens/WaoTweaks.
The text was updated successfully, but these errors were encountered: