Skip to content

Conversation

@radarhere
Copy link
Member

Resolves #6558

Runs apply_transparency() on P mode images when passing them to tkinter.PhotoImage. This will move the transparency from info into the palette in a P mode image, so that tkinter can understand the transparency information.

@radarhere radarhere changed the title Apply transparency to P images before passing to tkinter.PhotoImage Apply transparency to P images in ImageTk.PhotoImage Sep 5, 2022
@hugovk hugovk merged commit 3a30a87 into python-pillow:main Sep 24, 2022
@radarhere radarhere deleted the photoimage branch September 24, 2022 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Alpha channel ignored in tkinter using PIL.Image.open and PIL.ImageTk.PhotoImage for PNGs in palette mode

2 participants