gh-118271: Support more options for reading/writing images in Tkinter by serhiy-storchaka · Pull Request #118273 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Merged
merged 5 commits into
Merged
Conversation
Member
- Add PhotoImage.read() to read an image from a file.
- Add PhotoImage.data() to get the image data.
- Add background and grayscale parameters to PhotoImage.write().
📚 Documentation preview 📚: https://cpython-previews--118273.org.readthedocs.build/
serhiy-storchaka
requested a review
from terryjreedy
bedevere-app
Bot
mentioned this pull request
bedevere-app
Bot
added
the
awaiting core review
label
…kinter * Add PhotoImage.read() to read an image from a file. * Add PhotoImage.data() to get the image data. * Add background and grayscale parameters to PhotoImage.write().
serhiy-storchaka
force-pushed
the
tkinter-photoimage-read-data
branch
from
432a235 to
455252e
Compare
serhiy-storchaka added 4 commits
serhiy-storchaka
enabled auto-merge (squash)
serhiy-storchaka
merged commit
709ca90
into
python:main
bedevere-app
Bot
removed
the
awaiting core review
label
SonicField pushed a commit to SonicField/cpython that referenced this pull request
…kinter (pythonGH-118273) * Add PhotoImage.read() to read an image from a file. * Add PhotoImage.data() to get the image data. * Add background and grayscale parameters to PhotoImage.write().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment