1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-09 11:00:46 +00:00

Base: Add note about optipng to contributing guidelines

A trick I learned from @linusg which is very useful and needs
to be a part of PRs where images are involved.
This commit is contained in:
Dennis Esternon 2022-05-03 06:20:44 +08:00 committed by Linus Groh
parent ab49fcfb7c
commit c0e3d453c0

View File

@ -55,6 +55,7 @@ Nobody is perfect, and sometimes we mess things up. That said, here are some goo
* Squash your commits when making revisions after a patch review.
* Add your personal copyright line to files when making substantive changes. (Optional but encouraged!)
* Check the spelling of your code, comments and commit messages.
* If you have images that go along with your code, run `optipng -strip all` on them to optimize and strip away useless metadata - this can reduce file size from multiple kilobytes to a couple hundred bytes.
**Don't:**