Fixed loading GD images by radarhere · Pull Request #8793 · 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

@radarhere radarhere commented

Mar 3, 2025

edited

Loading

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

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