Skip to content

Optimize all PNGs and JPGs - #144

Merged
StanFromIreland merged 2 commits into
mainfrom
optimize-images
Sep 29, 2026
Merged

StanFromIreland merged 2 commits into
mainfrom
optimize-images

Conversation

@StanFromIreland

Copy link
Copy Markdown
Member

This losslessly optimises all images (PNGs and JPGs), using oxipng and jpegoptim.

For oxipng, I ran:

oxipng -r -o max --strip safe .

For jpegoptim, I ran:

jpegoptim --strip-com --strip-exif --strip-iptc --strip-xmp FILE

Most of the larger savings are however only in older posts, what do people think, is it worth it? I also can confirm that none of the images in #137 need optimisation.

@psf-cabotage-us-east-2
psf-cabotage-us-east-2 Bot temporarily deployed to python/python-insider/pr-144 September 29, 2026 16:01 Destroyed
@psf-cabotage-us-east-2

psf-cabotage-us-east-2 Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Branch Deploy for pr-144 in Python Insider

Environment has been destroyed.

@hugovk

hugovk commented Sep 29, 2026

Copy link
Copy Markdown
Member

Sure, why not.

content/posts/python-3100rc2-is-available/
and
content/posts/python-3110rc2-is-now-available/
have a lot of repeats of ⚠️ images, shall we deduplicate?

@psf-cabotage-us-east-2
psf-cabotage-us-east-2 Bot temporarily deployed to python/python-insider/pr-144 September 29, 2026 16:45 Destroyed
@StanFromIreland

Copy link
Copy Markdown
Member Author

Sure, there's no better optimisation than that :-)

@StanFromIreland
StanFromIreland merged commit 2e086bc into main Sep 29, 2026
5 checks passed
@StanFromIreland
StanFromIreland deleted the optimize-images branch September 29, 2026 17:11

This branch was successfully deployed

No deployments
python/python-insider/pr-144 — e913a220 Deployed Sep 29, 2026 by psf-cabotage-us-east-2[bot]
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.

2 participants