You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The jp2 image in attach will be decompressed failed,
I get a large l_current_data_size number(the value is 0x85000014) in the opj_jp2_read_header_procedure
function,
So call opj_realloc with l_current_data_size parameter return null.
Why the value of l_current_data_size is so big?
When I used kakadu lib, the image can be decompressed correctly.
Is there any bug?
Reported by xiaochuan.liu19880512 on 2014-04-03 08:29:54
I use openjpeg-2.x-trunk-r2833.
kdu_expand -i issue329-Robert1_30_SIGABRT.PC.0x7ffff70c2a75.CODE.-6.ADDR.0x11020000079c6.INSTR.dec_eax.TIME.2010-06-09.11.47.31.PID.31174._12pdf.jp2
-o issue329-Robert1.bmp
Error in Kakadu File Format Support:
JP2-family data source contains a malformed file type box.
opj_decompress -i issue329-Robert1_30_SIGABRT.PC.0x7ffff70c2a75.CODE.-6.ADDR.0x11020000079c6.INSTR.dec_eax.TIME.2010-06-09.11.47.31.PID.31174._12pdf.jp2
-o issue329-Robert1.png
[INFO] Stream reached its end !
[ERROR] Problem with reading JPEG2000 box, stream error
ERROR -> opj_decompress: failed to read the header
winfried
r2944,
./bin/opj_decompress -i ../../data/issue329.jp2 -o 0.bmp
[ERROR] Invalid box size -2063597540 for box 'ftyp'. Need -2063597548 bytes, 44731
bytes remaining
ERROR -> opj_decompress: failed to read the header
Same result as comment #1 for du_expand
Originally reported on Google Code with ID 329
Reported by
xiaochuan.liu19880512
on 2014-04-03 08:29:54- _Attachment: [Robert1_30_SIGABRT.PC.0x7ffff70c2a75.CODE.-6.ADDR.0x11020000079c6.INSTR.dec_eax.TIME.2010-06-09.11.47.31.PID.31174._12pdf.jp2](https://storage.googleapis.com/google-code-attachments/openjpeg/issue-329/comment-0/Robert1_30_SIGABRT.PC.0x7ffff70c2a75.CODE.-6.ADDR.0x11020000079c6.INSTR.dec_eax.TIME.2010-06-09.11.47.31.PID.31174._12pdf.jp2)_
The text was updated successfully, but these errors were encountered: