-
Notifications
You must be signed in to change notification settings - Fork 461
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
OPJ fails to decode image that KDU manages correctly #419
Comments
Reported by mayeut on 2014-11-04 21:02:32 |
Reported by malaterre on 2015-01-07 17:35:52 |
I experience a very similar (possibly identical?) issue with OpenJPEG 2.3.1. This comes as a regression over the 2.1 release for me. The image bVZ016-1M_wA20_s2_z0_t1_cDAPI_u001.jp2 has been created with Matlab R2014b, which AFAIK uses the Kakadu writer. It can be successfully decoded with OpenJPEG 2.1 and Kakadu, but not with OpenJPEG 2.3.1:
We have a large image archive in this format. Help would be greatly appreciated. |
@emmenlau No problem for me. Demo:
|
Dear @rouault , thanks a lot for the quick reply! I can reproduce your result, so the downloaded
It seems |
Might be related to how you use the openjpeg API. Posting a self contained C code reproducing your issue would help. |
I've made some progress but the issue is still not completely clear to me. The error comes from the fact that we use a c++ iostream for reading, with the following callbacks:
When I switch to the C-style |
Originally reported on Google Code with ID 419
Reported by mayeut on 2014-10-22 05:55:21
- _Attachment: [4.jp2](https://storage.googleapis.com/google-code-attachments/openjpeg/issue-419/comment-0/4.jp2)_
The text was updated successfully, but these errors were encountered: