Skip to content

Conversation

@hugovk
Copy link
Member

@hugovk hugovk commented Jan 23, 2026

Fixes #1518.

See #1514 (comment) for amount of compression.

Also add pre-commit hook, and update README about how to use prek, which is a faster version pre-commit client. And you can use either locally.


I've not committed the compressed files here, let's see if pre-commit.ci will do it.

@europython-society
Copy link
Member

europython-society commented Jan 23, 2026

Preview available

Key Value
url https://oxipng.ep-preview.click
last update 2026-01-23T11:52:48.850Z

@hugovk
Copy link
Member Author

hugovk commented Jan 23, 2026

Hmm, timeout after 180 seconds!

I'll run it locally and push, and see if that makes a difference. Another option is to remove -o=max which should make it quicker, but still compress well.

@hugovk
Copy link
Member Author

hugovk commented Jan 23, 2026

Same thing. Let's try without -o=max, locally that speeds it from 2m42s to 11s!

The commit with compression did use -o=max.

@hugovk
Copy link
Member Author

hugovk commented Jan 23, 2026

Bingo!

@hugovk hugovk marked this pull request as ready for review January 23, 2026 12:00
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.

Image sizes make cloning the project slow

3 participants