Skip to content

Conversation

radarhere
Copy link
Member

@radarhere radarhere commented Sep 15, 2025

Resolves #9204

Within an MPO image, the SOF marker in each frame may change the size of the image. However, Pillow currently only changes the size of the Python image, not the C image. The first commit here fixes that. This is similar to #8237.

The second commit switches from a hex-edited image to a smaller one that was created by the user in the issue, so that we're testing a "real" image from the wild, rather than an artificial one.

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.

"ValueError: tile cannot extend outside image" for JPEG files exported from macOS Photos app
1 participant