Skip to content

gh-159102: Shrink and optimize Tachyon example GIFs - #160540

Merged
StanFromIreland merged 1 commit into
python:mainfrom
zware:optimize_tachyon_gifs
Oct 24, 2026
Merged

StanFromIreland merged 1 commit into
python:mainfrom
zware:optimize_tachyon_gifs

Conversation

@zware

@zware zware commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

This is an alternative option to GH-159169, which leaves the images in question as GIFs, but significantly shorter and with some optimizations applied to shrink their size as much as possible. I think this lets them retain their point, without requiring changes to the format.

@zware

zware commented Oct 23, 2026

Copy link
Copy Markdown
Member Author

For comparison, original and this PR.

I'll see if anyone can spot the changes before I reveal what they are ;)

@StanFromIreland StanFromIreland left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Truncating looks fine to me!

@StanFromIreland
StanFromIreland merged commit f39dfa7 into python:main Oct 24, 2026
40 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Oct 24, 2026
@StanFromIreland StanFromIreland added the needs backport to 3.15 bugs and security fixes label Oct 24, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @zware for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Oct 24, 2026

Copy link
Copy Markdown

GH-160610 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Oct 24, 2026
StanFromIreland pushed a commit that referenced this pull request Oct 24, 2026
#160610)

(cherry picked from commit f39dfa7)

Co-authored-by: Zachary Ware <zach@python.org>
@zware
zware deleted the optimize_tachyon_gifs branch October 24, 2026 17:40
@zware

zware commented Oct 24, 2026

Copy link
Copy Markdown
Member Author

FTR: reduced to 4s (~32 frames), with gifsicle -O3 --colors 64 --lossy 30, iirc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants