]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-118225: Support more options for copying images in Tkinter (GH-118228)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 6 May 2024 14:33:15 +0000 (17:33 +0300)
committerGitHub <noreply@github.com>
Mon, 6 May 2024 14:33:15 +0000 (17:33 +0300)
commit1b639a04cab0e858d90e2ac459fb34b73700701f
treea76e34ec01d564451def7ddbe8dc7da2940848c0
parent09871c922393cba4c85bc29d210d76425e076c1d
gh-118225: Support more options for copying images in Tkinter (GH-118228)

* Add the PhotoImage method copy_replace() to copy a region
  from one image to other image, possibly with pixel zooming and/or
  subsampling.
* Add from_coords parameter to PhotoImage methods copy(), zoom() and subsample().
* Add zoom and subsample parameters to PhotoImage method copy().
Doc/library/tkinter.rst
Doc/whatsnew/3.13.rst
Lib/test/test_tkinter/test_images.py
Lib/tkinter/__init__.py
Misc/NEWS.d/next/Library/2024-04-24-16-07-26.gh-issue-118225.KdrcgL.rst [new file with mode: 0644]