gh-118271: Support more options for reading/writing images in Tkinter by serhiy-storchaka · Pull Request #118273 · python/cpython
…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().
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().
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