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

Even Rouault even.rouault at spatialys.com
Mon Aug 30 08:21:05 PDT 2021


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 at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210830/8ccc7cb2/attachment-0001.html>


More information about the gdal-dev mailing list