Feature or enhancement
PhotoImage has method write() which writes the image (or its part) to the file. But it lacks methods for two other related subcommand -- read, to read the image from the file, and data, to get the image data. I propose to add methods read() and data().
Also, the write() method can support two new options: background and grayscale.
Linked PRs
Feature or enhancement
PhotoImage has method
write()which writes the image (or its part) to the file. But it lacks methods for two other related subcommand --read, to read the image from the file, anddata, to get the image data. I propose to add methodsread()anddata().Also, the
write()method can support two new options:backgroundandgrayscale.Linked PRs