Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Losslessly optimize PNG files #2549

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

Merged
Noratrieb merged 1 commit into rust-lang:master from lumiscosity:optimize-images
Aug 20, 2025

Conversation

Copy link
Contributor

@lumiscosity lumiscosity commented 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

tshepang reacted with heart emoji
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
```
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
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.

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
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /