Optimize public html images and tiny flag images#294
Open
cqueern wants to merge 2 commits into
Open
Conversation
|
This feels like it should be a packaging-time process (e.g. run optipng/pngcrush/whatever from debian/rules) The majority of the size reduction is in loss of metadata, which is maybe okay for the final installed version but not so much for the actual source images. From 5 mins of playing with it, maybe |
Author
|
Defer to you if there is indeed a better tool for the job. Thanks! |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This pull request optimizes the PNG files in
public_html/images/andpublic_html/flags-tiny/while preserving the existing filenames and file paths.Changes
.pngfilenames.Notes
The goal is to reduce asset size without changing how the existing dump1090 public HTML interface references these images and without perceptible difference to the user.
I used ImageOptim v1.9.3 to perform lossless optimizations of these PNG files. I've attached screenshots of the ImageOptim output for each of the two folders.