Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
Closed
Description
Feature or enhancement
PhotoImage has methodwrite()
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, thewrite()
method can support two new options:background
andgrayscale
.