[gdal-dev] Fwd: [OpenJPEG] OpenJPEG 2.2.0 is out ! Faster and safer.
even.rouault at spatialys.com
Mon Aug 28 10:40:31 PDT 2017
> I rebuilt GDAL (older version: 2.1.2) using this new open jpeg 2.2.0
> and tried to convert two jp2 dataset to tiff (gdal_translate):
> - bluemarble_4km.jp2: (10800 x 5400 pixels). 37.3 mb file size.
> - usgsLanSat.jp2: (8627 x 7745 pixels). 48 mb file size.
Do you know if they use JPEG2000 tiling ?
> Tests were run on virtual machine with ‘Ubuntu 16.04’ operation system, 18
> gb RAM and 2 CPU processors.
> These results were not expected since the new openJpeg should be faster than
> the previous one. Could this be cause by 'gdal_translate' not using threads
> that the new openjpeg uses for performance boost ?
By default, GDAL will now enable openjpeg thread support. So you need to set the
OPJ_NUM_THREADS environment variable. That said, you should already get significant
performance improvements even without enabling multi-threading. I'm not sure why you
don't get them.
I'd be interested if you could share those images.
Spatialys - Geospatial professional services
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev