Skip to content

Conversation

@radarhere
Copy link
Member

@radarhere radarhere commented Jun 6, 2022

Resolves #6348

Adds apply_transparency(), a method to take a P mode image with a "transparency" key in the im.info dictionary, remove the "transparency" key and apply the transparency to the palette instead.

@hugovk
Copy link
Member

hugovk commented Jun 10, 2022

Thanks, for a new API, let's add this to docs (an automethod in docs/reference/Image.rst?) and release notes.

@radarhere
Copy link
Member Author

Ok, done

@radarhere radarhere force-pushed the apply_transparency branch from c6b04cb to 70a060e Compare June 11, 2022 12:31
@hugovk hugovk merged commit 8bd7e81 into python-pillow:main Jun 11, 2022
@hugovk
Copy link
Member

hugovk commented Jun 11, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Transparency is not applied to RGBA palette when opening PNG

2 participants