Skip to content

Optimize public html images and tiny flag images#294

Open
cqueern wants to merge 2 commits into
flightaware:masterfrom
cqueern:optimize-public-html-images
Open

Optimize public html images and tiny flag images#294
cqueern wants to merge 2 commits into
flightaware:masterfrom
cqueern:optimize-public-html-images

Conversation

@cqueern

@cqueern cqueern commented Jul 2, 2026

Copy link
Copy Markdown

Summary

This pull request optimizes the PNG files in public_html/images/ and public_html/flags-tiny/ while preserving the existing filenames and file paths.

Changes

  • Optimized tiny flag and images PNG assets.
  • Preserved the existing .png filenames.
  • Preserved the existing folder structure.
  • No application code changes.

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.

Screenshot 2026-07-02 at 3 38 20 PM Screenshot 2026-07-02 at 3 39 29 PM

@mutability

mutability commented Jul 3, 2026

Copy link
Copy Markdown

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 optipng -strip all?

@cqueern

cqueern commented Jul 3, 2026

Copy link
Copy Markdown
Author

Defer to you if there is indeed a better tool for the job. Thanks!

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

Successfully merging this pull request may close these issues.

2 participants