Skip to content

Conversation

lumiscosity
Copy link
Contributor

Losslessly optimizes all of the PNG files in the repo. Done with:

oxipng -o max -a -s
oxipng -o max --zopfli -a -s

@rustbot
Copy link
Collaborator

rustbot commented Aug 19, 2025

Thanks for the PR. If you have write access, feel free to merge this PR if it does not need reviews. You can request a review using r? rustc-dev-guide or r? <username>.

@rustbot rustbot added the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Aug 19, 2025
Losslessly optimizes all of the PNG files in the repo. Done with:

```
oxipng -o max -a -s
oxipng -o max --zopfli -a -s
```
@Noratrieb
Copy link
Member

oh that's pretty cool, I wasn't even aware that PNGs can be optimized by this much :3

@Noratrieb Noratrieb merged commit b7cb1d8 into rust-lang:master Aug 20, 2025
1 check passed
@rustbot rustbot removed the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Aug 20, 2025
@tshepang
Copy link
Member

I did pause when I saw this pr, since it increases the size of the repo, but now I just thought of the great likelihood that the clones will be far less frequent than remote accesses.

@lumiscosity
Copy link
Contributor Author

Yeah, my reasoning is that it'll save on fetch time on the rendered docs. Push comes to shove, you can always clone the repo with reduced history.

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.

4 participants