[gdal-dev] ECW to JP2000

Even Rouault even.rouault at spatialys.com
Fri Dec 6 06:51:50 PST 2019


On vendredi 6 décembre 2019 14:05:37 CET Clay, Bruce wrote:
> when I use gdal_translate to convert an ECW file to JP2000 it ends up 9
> times larger.  I could not find any options to control the compression like
> we can with Geotiff.  Is there a way to get a compressed JP2000 image?

Certainly.

You need to look at the specific JPEG2000 driver you use. For example for 
JP2OpenJPEG, the doc is at:
https://gdal.org/drivers/raster/jp2openjpeg.html

For example if you use QUALITY=5, then you'll get a file whose compressed size 
is 5% of the uncompressed file size.

Even

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


More information about the gdal-dev mailing list