Allow loading ImageFile state from Pillow < 11.2.1 by radarhere · Pull Request #8938 · 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

Resolves #8935

A user pickled an imageFile before #8859 added self.filename to the state, and would like to unpickle the data with the latest version of Pillow.

Copy link Copy Markdown

@manigoad manigoad left a comment

edited

Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it locally and it works as expected

@hugovk hugovk merged commit e23f017 into python-pillow:main

Apr 29, 2025

55 checks passed

@radarhere radarhere deleted the state branch

April 29, 2025 12:17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@manigoad manigoad manigoad approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Unpickle Image serialized with older version of Pillow

3 participants

@radarhere @manigoad @hugovk