<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>Hi,</p>
<p>yes, in the 3.3 branch and earlier, there was no tunable to ask
for lossless JPEG2000 compression</p>
<p>If you use GDAL master, you can now use the
PROFILE=NPJE_NUMERICALLY_LOSSLESS option for that</p>
<p>Even<br>
</p>
<div class="moz-cite-prefix">Le 30/08/2021 à 17:16, Chastain,
Raymond Lee (MU-Student) a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CY4PR01MB24716E85C74116A8AF16D5A69FCB9@CY4PR01MB2471.prod.exchangelabs.com">
<div>
We're trying to create NITFs with lossless compression using the
OpenJPEG driver for JPEG2000 compression.<br>
<br>
We've set the "QUALITY=100" creation option but are still
noticing that repeated conversions generate different perceptual
image hashes.</div>
<div>
<br>
</div>
<div>
The OpenJPEG driver mentions "REVERSIBLE=YES" but that doesn't
seem to be a valid creation option for the NITF driver.<br>
<br>
Sample gdal_translate command:<br>
"gdal_translate -of NITF -co IC=C8 -co BLOCKXSIZE=256 -co
BLOCKYSIZE=256 -co SDE_TRE=YES -co QUALITY=100 sample.tif
reversible.nitf"<br>
<br>
Am I going about this the right way?<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>