This is the simplest solution (patch attached):
bin/opj_decompress -i Bretagne2.j2k -o Bretagne2.j2k.png -r 8
[INFO] Start to read j2k main header (0).
[ERROR] Error decoding component 0.
The number of resolutions 8 to remove is >= the maximum of resolutions 6 of
this component
=== Reduce to 5 ===
[ERROR] Error reading COD marker
[ERROR] Marker handler function failed to read the marker segment
ERROR -> opj_decompress: failed to read the header
winfried
Original issue reported on code.google.com by szukw...@arcor.de on 14 Feb 2015 at 6:12
Original issue reported on code.google.com by
szukw...@arcor.de
on 14 Feb 2015 at 6:12Attachments: