Optimized some common images with zopflipng#5697
Merged
bramkragten merged 1 commit intohome-assistant:devfrom May 2, 2020
matstrange:dev
Merged
Optimized some common images with zopflipng#5697bramkragten merged 1 commit intohome-assistant:devfrom matstrange:dev
bramkragten merged 1 commit intohome-assistant:devfrom
matstrange:dev
Conversation
Contributor
|
Hi @matstrange, It seems you haven't yet signed a CLA. Please do so here. Once you do that we will be able to review and accept this pull request. Thanks! |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed change
I've processed a number of key static png files through the zopflipng algorithm to see the impact on file size. The images are visibily identical but come in more highly compressed through many additional runs through the algorithm (I ran most of these between 5k-30k iterations until I saw no further improvement)
While small, every byte counts and should hopefully help to improve the loading and weather cards if anyone is pulling from a slow remote connection.
There are more to go after but these looked like the most obvious. If there is a desire for this type of optimisation I'm happy to look for more opportunities!
Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: