Hi,

yes, in the 3.3 branch and earlier, there was no tunable to ask for lossless JPEG2000 compression

If you use GDAL master, you can now use the PROFILE=NPJE_NUMERICALLY_LOSSLESS option for that

Even

Le 30/08/2021 à 17:16, Chastain, Raymond Lee (MU-Student) a écrit :
We're trying to create NITFs with lossless compression using the OpenJPEG driver for JPEG2000 compression.

We've set the "QUALITY=100" creation option but are still noticing that repeated conversions generate different perceptual image hashes.

The OpenJPEG driver mentions "REVERSIBLE=YES" but that doesn't seem to be a valid creation option for the NITF driver.

Sample gdal_translate command:
"gdal_translate -of NITF -co IC=C8 -co BLOCKXSIZE=256 -co BLOCKYSIZE=256 -co SDE_TRE=YES -co QUALITY=100 sample.tif reversible.nitf"

Am I going about this the right way?

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

--
http://www.spatialys.com
My software is free, but my time generally not.

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to