Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to Open a Specific JP2 file #1544

Closed
srinu-kompella opened this issue Jul 26, 2024 · 2 comments
Closed

Failed to Open a Specific JP2 file #1544

srinu-kompella opened this issue Jul 26, 2024 · 2 comments

Comments

@srinu-kompella
Copy link

Expected behavior and actual behavior.

Expected Behavior : opj_decode function call should be successful.
Actual Behavior : opj_decode is return OPJ_FALSE, I can see the below log messages in the debug session

Stream too short, expected SOT
Failed to decode tile 23 35
Failed to decode the codestream in the JP2 file

Steps to reproduce the problem.

Load the attached jp2 file.

Operating system

window 11

openjpeg version

2.5.2
Page.zip

@srinu-kompella srinu-kompella changed the title Failed to Open a Specific file JP2 file Failed to Open a Specific JP2 file Jul 26, 2024
@rouault
Copy link
Collaborator

rouault commented Aug 25, 2024

This file is corrupted.
Kakadu also fails on this tile with "Kakadu Core Error:
Missing or out-of-sequence tile-parts for tile number 24 in code-stream!"

@rouault rouault closed this as completed Aug 25, 2024
@srinu-kompella
Copy link
Author

@rouault I tried few online viewers, though some viewers are failed, some are able to open this file, when I convert this jp2 file to pdf , intrestingly, adobe is able to convert successfully, can we do something to handle this file here ?

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

No branches or pull requests

2 participants