Skip truncated ICO mask if LOAD_TRUNCATED_IMAGES is enabled by radarhere · Pull Request #8180 · python-pillow/Pillow
Navigation Menu
{{ message }}
python-pillow / Pillow Public
- Notifications You must be signed in to change notification settings
- Fork 2.4k
Merged
hugovk merged 1 commit intopython-pillow:mainfrom
Sep 4, 2024Merged
Skip truncated ICO mask if LOAD_TRUNCATED_IMAGES is enabled#8180
hugovk merged 1 commit intopython-pillow:mainfrom
Skip truncated ICO mask if LOAD_TRUNCATED_IMAGES is enabled#8180
hugovk merged 1 commit intopython-pillow:mainfrom
Conversation
Copy link Copy Markdown
Member
radarhere
commented
Jul 1, 2024
radarhere
commented
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
changed the title
If LOAD_TRUNCATED_IMAGES is true, skip truncated ICO mask
Skip truncated ICO mask if LOAD_TRUNCATED_IMAGES is enabled
radarhere
mentioned this pull request
radarhere
force-pushed
the
skip_truncated_mask
branch
from
84a6d2b to
d3f343b
Compare
hugovk
merged commit
eb1dbbf
into
python-pillow:main
radarhere
deleted the
skip_truncated_mask
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment