Skip to content

Add tkinter PhotoImage.redither method #151888

@serhiy-storchaka

Description

@serhiy-storchaka

The redither subcommand of the Tk photo image (since Tk 8.5) has no tkinter wrapper and is currently reachable only through tk.call().

imageName redither recalculates the dithered image in each window where it is displayed.
This is useful when the image data was supplied in pieces, in which case the dithered image may not be exactly correct.

I propose to add the corresponding PhotoImage.redither() method, completing the wrapping of the photo image subcommands.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions