Skip to content

Image.open() fails on a JPEG2000 image #9455

@sl2c

Description

@sl2c

Running:

Image.open('image.jp2').show()

on image.jp2.zip fails:

OSError: broken data stream when reading image file

My set-up:

MacOS 10.14.6, Python 3.10.18
pillow-12.1.1-cp310-cp310-macosx_10_10_x86_64.whl

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions