Skip to content

Tolerate an invalid tile part index #1597

@marcdesmet2023

Description

@marcdesmet2023

invalid_tile_part_index.zip

When using openjpeg-2.5.4 to decode the attached file invalid_tile_part_index.jp2, we get the following error:

Invalid tile part index for tile number 0. Got 160, expected 5
Fail to read the current marker segment (0xff90)

jpylyzer confirms the unexpected tile part index. This invalid tile part index can be found at byte 62160 of the attached file.

This has been reported by our customers, because Adobe Acrobat is able to display this file. It could be preferable if OpenJPEG would be more forgiving in this area.

The issue #1558 also is about invalid part indices, but this is a different problem.

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