Skip to content

Is this MPO file decoded correctly? #8052

@bigcat88

Description

@bigcat88

What did you do?

from PIL import Image

im = Image.open("328384445-d4972d5b-3409-4d5f-a107-ccb8c5dc0177.jpg")  # MPO file
im.show()

What did you expect to happen?

Correctly decode second image

image

What actually happened?

image

What are your OS, Python and Pillow versions?

  • OS: macOS/Linux
  • Python: 3.10/3.11
  • Pillow: 10.2.0 (edited) (was 10.3.0, my mistake)

Test image can be found here: comfyanonymous/ComfyUI#3416 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions