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

Compress PNGs losslessly #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

acme
Copy link

@acme acme commented Jan 11, 2021

This commit compresses the static PNG images so that they load quicker. I compressed them losslessly with ImageOptim, so they look exactly the same, but they are smaller and thus load quicker.

 app/static/govuk-frontend/govuk/assets/images/govuk-crest-2x.png
   Bin 8884 -> 8698 bytes
 app/static/govuk-frontend/govuk/assets/images/govuk-crest.png
   Bin 3584 -> 3512 bytes
 app/static/icon/favicon.png
   Bin 2743 -> 761 bytes
 app/static/images/arrow-up-green.png
   Bin 9808 -> 4657 bytes
 app/static/images/arrow-up-grey.png
   Bin 10165 -> 5016 bytes
 app/static/images/arrow-up-red.png
   Bin 10200 -> 5083 bytes
 app/static/images/opengraph-image.png
   Bin 15380 -> 14526 bytes
 app/static/images/search-button.png
   Bin 540 -> 509 bytes
 app/static/public/images/arrow-down.png
   Bin 9385 -> 4742 bytes
 app/static/public/images/arrow-up-grey.png
   Bin 10165 -> 5016 bytes
 app/static/public/images/arrow-up.png
   Bin 10200 -> 5083 bytes
 app/static/public/images/chart-deaths-small.png
   Bin 40434 -> 22854 bytes
 app/static/public/images/graph-cases-small.png
   Bin 34703 -> 19172 bytes
 app/static/public/images/graph-patients-small.png
   Bin 29696 -> 15700 bytes
 app/static/public/images/graph-tests-small.png
   Bin 35475 -> 19103 bytes
 app/static/public/images/location-pin.png
   Bin 12525 -> 4333 bytes
 app/static/public/images/map-temp-uk-noslider.png
   Bin 965142 -> 682418 bytes
 app/static/public/images/msoa-map-white.png
   Bin 199087 -> 73079 bytes
 app/static/public/images/opengraph-image.png
   Bin 15380 -> 14526 bytes
 app/static/public/images/search-button.png
   Bin 540 -> 509 bytes
 app/static/public/images/week-slider.png
   Bin 19248 -> 10072 bytes

 This commit compresses the static PNG images so that they load
 quicker. I compressed them losslessly with ImageOptim, so they look
 exactly the same, but they are smaller and thus load quicker.

 app/static/govuk-frontend/govuk/assets/images/govuk-crest-2x.png
   Bin 8884 -> 8698 bytes
 app/static/govuk-frontend/govuk/assets/images/govuk-crest.png
   Bin 3584 -> 3512 bytes
 app/static/icon/favicon.png
   Bin 2743 -> 761 bytes
 app/static/images/arrow-up-green.png
   Bin 9808 -> 4657 bytes
 app/static/images/arrow-up-grey.png
   Bin 10165 -> 5016 bytes
 app/static/images/arrow-up-red.png
   Bin 10200 -> 5083 bytes
 app/static/images/opengraph-image.png
   Bin 15380 -> 14526 bytes
 app/static/images/search-button.png
   Bin 540 -> 509 bytes
 app/static/public/images/arrow-down.png
   Bin 9385 -> 4742 bytes
 app/static/public/images/arrow-up-grey.png
   Bin 10165 -> 5016 bytes
 app/static/public/images/arrow-up.png
   Bin 10200 -> 5083 bytes
 app/static/public/images/chart-deaths-small.png
   Bin 40434 -> 22854 bytes
 app/static/public/images/graph-cases-small.png
   Bin 34703 -> 19172 bytes
 app/static/public/images/graph-patients-small.png
   Bin 29696 -> 15700 bytes
 app/static/public/images/graph-tests-small.png
   Bin 35475 -> 19103 bytes
 app/static/public/images/location-pin.png
   Bin 12525 -> 4333 bytes
 app/static/public/images/map-temp-uk-noslider.png
   Bin 965142 -> 682418 bytes
 app/static/public/images/msoa-map-white.png
   Bin 199087 -> 73079 bytes
 app/static/public/images/opengraph-image.png
   Bin 15380 -> 14526 bytes
 app/static/public/images/search-button.png
   Bin 540 -> 509 bytes
 app/static/public/images/week-slider.png
   Bin 19248 -> 10072 bytes
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.

1 participant