dbmdz/imageio-jnr

j2c format not working

Opened this issue · 0 comments

Hello,

Seems that I'm not being able to read j2c image (jp2 works as a charm).

The issue seems to be with reading headers since this line of code is causing the problem.
"if (!lib.opj_read_header(stream, codec, imgPtr)) { ...."

I've tried using command line tool for parsing this image and it says it works well.
"[INFO] Start to read j2k main header (0).
[INFO] Main header has been correctly decoded."

What can be the cause of this? Do you have any ideas?

Thanks in advance.