Skip to content

Fixed loading GD images#8793

Merged
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:gd
Mar 3, 2025
Merged

Fixed loading GD images#8793
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:gd

Conversation

@radarhere
Copy link
Member

@radarhere radarhere commented Mar 3, 2025

Currently,

from PIL import GdImageFile
with GdImageFile.open("Tests/images/hopper.gd") as im:
  im.save("out.png")

gives
before

With this PR, it gives
after

@hugovk hugovk merged commit 7700293 into python-pillow:main Mar 3, 2025
54 of 55 checks passed
@radarhere radarhere deleted the gd branch March 3, 2025 20:44
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