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

gh-118225: Support more options for copying images in Tkinter by serhiy-storchaka · Pull Request #118228 · python/cpython · GitHub

/ cpython Public

gh-118225: Support more options for copying images in Tkinter - #118228

Merged
serhiy-storchaka merged 3 commits into
python:mainfrom
serhiy-storchaka:tkinter-photoimage-copy
May 6, 2024
Merged

gh-118225: Support more options for copying images in Tkinter#118228
serhiy-storchaka merged 3 commits into
python:mainfrom
serhiy-storchaka:tkinter-photoimage-copy

Conversation

serhiy-storchaka commented Apr 24, 2024
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Member
  • 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_ parameter to PhotoImage methods copy(), zoom() and subsample().
  • Add zoom and subsample parameters to PhotoImage method copy().

📚 Documentation preview 📚: https://cpython-previews--118228.org.readthedocs.build/

* 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_ parameter to PhotoImage methods copy(), zoom() and subsample().
* Add zoom and subsample parameters to PhotoImage method copy().
serhiy-storchaka force-pushed the tkinter-photoimage-copy branch from 49c8eaf to 0afa381 Compare May 6, 2024 12:37
serhiy-storchaka merged commit 1b639a0 into python:main May 6, 2024
serhiy-storchaka deleted the tkinter-photoimage-copy branch May 6, 2024 14:33
SonicField pushed a commit to SonicField/cpython that referenced this pull request May 8, 2024
…ythonGH-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 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