Skip to content

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
@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