mirror of
https://github.com/python/cpython
synced 2026-09-28 03:33:18 +03:00
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().
This commit is contained in:
parent
09871c9223
commit
1b639a04ca
5 changed files with 271 additions and 20 deletions
|
|
@ -0,0 +1,5 @@
|
|||
Add the :class:`!PhotoImage` method :meth:`!copy_replace` to copy a region
|
||||
from one image to other image, possibly with pixel zooming and/or
|
||||
subsampling. Add *from_coords* parameter to :class:`!PhotoImage` methods
|
||||
:meth:`!copy()`, :meth:`!zoom()` and :meth:`!subsample()`. Add *zoom* and
|
||||
*subsample* parameters to :class:`!PhotoImage` method :meth:`!copy()`.
|
||||
Loading…
Add table
Add a link
Reference in a new issue