Content-Length: 278943 | pFad | https://github.com/python/cpython/issues/118271

E2 Support more options for reading/writing images in Tkinter · Issue #118271 · python/cpython · GitHub
Skip to content

Support more options for reading/writing images in Tkinter #118271

@serhiy-storchaka

Description

@serhiy-storchaka

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/118271

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy