[gdal-dev] Lossless JPEG2000 compression with NITF Format and OpenJPEG

Chastain, Raymond Lee (MU-Student) rlc5m8 at mail.missouri.edu
Mon Aug 30 08:16:39 PDT 2021


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210830/bff44fd9/attachment.html>


More information about the gdal-dev mailing list