Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix crashes on png transparency #494

Merged
merged 1 commit into from
Mar 27, 2023
Merged

fix crashes on png transparency #494

merged 1 commit into from
Mar 27, 2023

Conversation

axu2
Copy link
Collaborator

@axu2 axu2 commented Mar 25, 2023

kcc will crash if source image has transparency and saving to png.

Was not a problem in mangle due to Python 2/3 differences. python-pillow/Pillow#3150 (comment)

Here's a source image that causes crashes.

Liar_Game-v01_055

@darodi darodi marked this pull request as ready for review March 27, 2023 22:04
@darodi darodi merged commit 9ab1cd3 into ciromattia:master Mar 27, 2023
@darodi
Copy link
Collaborator

darodi commented Mar 27, 2023

tested, works fine.
Thanks a lot.

@darodi darodi added this to the 5.6.2 milestone Mar 27, 2023
@axu2 axu2 deleted the patch-2 branch March 31, 2023 16:48
@axu2 axu2 changed the title remove transparency from image info fix crashes on png transparency May 7, 2023
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.

2 participants