mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-07 00:19:27 +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:
parent
ab49fcfb7c
commit
c0e3d453c0
|
@ -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:**
|
||||
|
||||
|
|
Loading…
Reference in a new issue