[gdal-dev] Issue decoding some jp2 files with rasterio/JP2OpenJPEG

Even Rouault even.rouault at spatialys.com
Tue Oct 1 13:10:25 PDT 2019


On mardi 1 octobre 2019 17:54:37 CEST Javier Becerra Elcinto wrote:
> Hi,
> 
> Yesterday I submitted an issue at rasterio github's repository
> (https://github.com/mapbox/rasterio/issues/1790) regarding an error
> message while decoding some jpeg 2000 files. You can check there for the
> 
> full details, the main part of the error message is:
> |ERROR 1: skip: segment too long (2563) with max (687) for codeblock 0
> 
> (p=1301, b=0, r=7, c=0) 

The above error comes directly from the openjpeg library. This is a openjpeg 
defect. I can reproduce it with latest version. Should be reported at
https://github.com/uclouvain/openjpeg/

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list