Skip truncated ICO mask if LOAD_TRUNCATED_IMAGES is enabled by radarhere · Pull Request #8180 · python-pillow/Pillow

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@radarhere

Copy link Copy Markdown

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@radarhere @hugovk