mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +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:
committed by
Linus Groh
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.
|
* Squash your commits when making revisions after a patch review.
|
||||||
* Add your personal copyright line to files when making substantive changes. (Optional but encouraged!)
|
* Add your personal copyright line to files when making substantive changes. (Optional but encouraged!)
|
||||||
* Check the spelling of your code, comments and commit messages.
|
* 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:**
|
**Don't:**
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user