FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-151888: Add tkinter PhotoImage.redither method by serhiy-storchaka · Pull Request #151889 · python/cpython · GitHub

Repository navigation

gh-151888: Add tkinter PhotoImage.redither method - #151889

Merged
serhiy-storchaka merged 3 commits into
python:mainfrom
serhiy-storchaka:tkinter-photoimage-redither
Jun 22, 2026
Merged

serhiy-storchaka merged 3 commits into
python:mainfrom
serhiy-storchaka:tkinter-photoimage-redither

Conversation

serhiy-storchaka commented Jun 21, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Wrap the photo image redither Tk command (since Tk 8.5), which previously had no tkinter wrapper and was reachable only through tk.call().

PhotoImage.redither() recalculates the dithered image in each window where it is displayed. This is useful when the image data was supplied in pieces, in which case the dithered image may not be exactly correct.

This completes the wrapping of the photo image subcommands. The command is available on the bundled Tk, so no version guard is needed.

🤖 Generated with Claude Code

Wrap the photo image "redither" Tk command (since Tk 8.5) as the method
PhotoImage.redither(), which recalculates the dithered image in each
window where it is displayed (useful when the image data was supplied in
pieces), completing the wrapping of the photo image subcommands.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XWevzas4XVpjzedzR9gKVo

read-the-docs-community Bot commented Jun 21, 2026 •
edited
Loading

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33250613 | 📁 Comparing f7d5868 against main (24828e5)

  🔍 Preview build  

6 files changed · ± 6 modified

± Modified

serhiy-storchaka enabled auto-merge (squash) June 22, 2026 11:48
serhiy-storchaka merged commit b86c305 into python:main Jun 22, 2026
93 of 95 checks passed
serhiy-storchaka deleted the tkinter-photoimage-redither branch June 22, 2026 19:02
pyctrl pushed a commit to pyctrl/cpython that referenced this pull request Jul 5, 2026
)

Wrap the photo image "redither" Tk command (since Tk 8.5) as the method
PhotoImage.redither(), which recalculates the dithered image in each
window where it is displayed (useful when the image data was supplied in
pieces), completing the wrapping of the photo image subcommands.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

1 participant


Back | FazBrowse Home | New Git URL