]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-151888: Add tkinter PhotoImage.redither method (GH-151889)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 22 Jun 2026 15:19:56 +0000 (18:19 +0300)
committerGitHub <noreply@github.com>
Mon, 22 Jun 2026 15:19:56 +0000 (15:19 +0000)
commitb86c305c746f6d5be52227c946b77a009bad8928
tree1dfe4c7dc257d349b34d23ab972d7d7f9f50f736
parent5049eb1d29f6b10722f11439ab2576e0ffc903f4
gh-151888: Add tkinter PhotoImage.redither method (GH-151889)

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>
Doc/library/tkinter.rst
Doc/whatsnew/3.16.rst
Lib/test/test_tkinter/test_images.py
Lib/tkinter/__init__.py
Misc/NEWS.d/next/Library/2026-06-22-01-57-55.gh-issue-151888.hO7mxi.rst [new file with mode: 0644]