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

Skip truncated ICO mask if LOAD_TRUNCATED_IMAGES is enabled #8180

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

radarhere
Copy link
Member

Investigating #6507 (comment), there is an ICO image with a truncated transparency mask.

This PR allows ImageFile.LOAD_TRUNCATED_IMAGES to skip the mask and keep the rest of the image.

@radarhere radarhere changed the title If LOAD_TRUNCATED_IMAGES is true, skip truncated ICO mask Skip truncated ICO mask if LOAD_TRUNCATED_IMAGES is enabled Jul 1, 2024
@radarhere radarhere force-pushed the skip_truncated_mask branch from 84a6d2b to d3f343b Compare July 1, 2024 13:05
@hugovk hugovk merged commit eb1dbbf into python-pillow:main Sep 4, 2024
56 checks passed
@radarhere radarhere deleted the skip_truncated_mask branch September 4, 2024 21:20
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