-
Notifications
You must be signed in to change notification settings - Fork 459
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
OpenJPEG fails to decode partial j2c where kdu succeeds #715
Comments
What is a partial j2c ? |
I didn't really know what else to call it, but the software we work with(SecondLife opensource clients) decodes j2c files while they're downloading so that potentially only a piece of the file is available while it's decoding until full download is complete. When OpenJpeg 2.x tries to decode the partially downloaded file it outputs a garbled black/rainbow colored image, but OpenJpeg 1.5.0 works fine. |
@CmdrCupcake I'm working with a team that's trying to convert/restore some partial jp2s, and I'm wondering if the library you're using might be able to aid us in our quest (openjpeg fails to convert the images). Do you have a link to the source you're using to decode partial j2c files? |
The last version of openjpeg that could decode incomplete j2c streams was 1.5.0 in our usage(partially downloaded texture data for OpenSim/SecondLife protocol clients and servers). I believe the commercial kakadu library is also capable of this. |
Ah, thanks so much @CmdrCupcake! I don't think we're going to spring for the Kakadu license but I'm going to check out [email protected]. Thanks again for following up! |
2 years late.... but if you still care: I made some changes to the 2.3.1 repo that enable partial decoding. |
I also implemented this here: #1251, not sure how it compares to @jarrelscy version |
OpenJPEG fails to decode the attached partial j2c that kdu_show succesfully decodes and renders.
Tested against OpenJPEG master branch.
opj_decompress reports the following error:
testimg1.zip
The text was updated successfully, but these errors were encountered: