zjlyou / openjpeg

Automatically exported from code.google.com/p/openjpeg
Other
0 stars 0 forks source link

set reduce_factor_may_fail #474

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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

Attachments: