Skip to content

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Apr 25, 2024

  • 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/

…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 serhiy-storchaka force-pushed the tkinter-photoimage-read-data branch from 432a235 to 455252e Compare April 25, 2024 11:42
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) May 6, 2024 14:38
@serhiy-storchaka serhiy-storchaka merged commit 709ca90 into python:main May 6, 2024
SonicField pushed a commit to SonicField/cpython that referenced this pull request May 8, 2024
…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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant