OSGeo / gdal

GDAL is an open source MIT licensed translator library for raster and vector geospatial data formats.
https://gdal.org
Other
4.91k stars 2.55k forks source link

OpenJPEG: disable "TPSOT fix" with default STRICT=YES open option #11270

Closed rouault closed 3 days ago

rouault commented 3 days ago

Fixes the issue reported in https://lists.osgeo.org/pipermail/gdal-dev/2024-November/059805.html Requires openjpeg >= https://github.com/uclouvain/openjpeg/pull/1560 (likely 2.5.3 when it is released)

rouault commented 3 days ago

@kidanger I've just ammended this PR to actually fold that new TPSOT_COMPLIANT open into the existing STRICT one. So the default STRICT=YES open option will disable the TPSOT fixing heuristics

rouault commented 3 days ago

Dropping this PR as it is no longer needed, since I've actually tuned the openjpeg one to also disable the TPSOT fixing logic, when opj_decoder_set_strict_mode(, true) is called.

coveralls commented 3 days ago

Coverage Status

coverage: 73.702% (-0.002%) from 73.704% when pulling 86a7c68f84d762db90d019a3aa5dae2480122c39 on rouault:openjpeg_TPSOT_COMPLIANT into a0f5127dfc8d30911bd4fe1e11a4bca2a24eafff on OSGeo:master.