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

Optimise posts' images #505

Closed
wants to merge 1 commit into from
Closed

Optimise posts' images #505

wants to merge 1 commit into from

Conversation

bonjourmauko
Copy link
Contributor

capture d ecran 2017-02-25 a 17 12 59

capture d ecran 2017-02-25 a 17 14 23

Relates to #502 and #503

@SGMAP-bot SGMAP-bot temporarily deployed to betagouv-pr-505 February 25, 2017 16:23 Inactive
@bonjourmauko bonjourmauko self-assigned this Feb 25, 2017
Copy link
Member

@MattiSG MattiSG left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't delete so-called “optional chunks” in PNGs. They include color profiles and gamma correction for macOS, and the decrease in quality is in no way worth the 1% file size gained. This will be even more important with the advent of large color gamut displays.

@MattiSG
Copy link
Member

MattiSG commented Feb 27, 2017

Also, if savings are < 2% (i.e. already previously optimised images), I'm not sure the few bytes saved in delivery are actually worth the binary blobs and the added weight when cloning the repo.

Please, in the future, just make sure to enforce image optimisation (and squashing them) in open PRs.

@bonjourmauko
Copy link
Contributor Author

4.74 MB > 3.75 MB (~20%)

@MattiSG MattiSG mentioned this pull request Mar 3, 2017
@MattiSG
Copy link
Member

MattiSG commented Mar 3, 2017

Superseded by #523.

@MattiSG MattiSG closed this Mar 3, 2017
@MattiSG MattiSG deleted the optimise-posts-images branch March 3, 2017 17:53
@MattiSG MattiSG mentioned this pull request Mar 13, 2017
sebroussel pushed a commit to sebroussel/beta.gouv.fr that referenced this pull request Jun 18, 2019
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.

3 participants