[gdal-dev] Reading JPEG2000 file related to drivers
Yves Jacolin
yjacolin at free.fr
Tue Oct 13 08:29:49 PDT 2015
On Tuesday, October 13, 2015 17:25:50 Even Rouault wrote:
> [..]
>
> Yves,
>
> I think someone has already had that issue. I think you're compiling against
> OpenJPEG 2.0 header and are linking against OpenJPEG 2.1 (or the reverse).
> Some structures of openjpeg have changed sizes between both versions and
> result in such a typical mess at runtime.
>
Even,
Strange. GDAL 1.10 + OpenJPEG2000 2.0 worked as expected but I am rather sure
that I build OpenJpeg 2.1 just before the test.
Is it possible that there is a problem between GDAL 2.11 and OpenJPEG2000
v2.0? I will test it again.
Last question for today: do you know any limitation with this lib (any
release) and image size:
ERROR 1: Cannot handle box sizes higher than 2^32
OPENJPEG: info: Start to read j2k main header (349).
ERROR 1: Prevent buffer overflow (x1: 200000, y1: 225000)
Y.
More information about the gdal-dev
mailing list