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

Reply via email to