<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Sean,</p>
    <p>my quick look at the JP2Grok driver code is that it doesn't
      generate the HTJ2K / Part 15 variant of JPEG2000, at least there's
      nothing suggesting that (didn't try running it). I guess that
      there would be a need for a dedicated creation option in the
      driver for that to happen, so there shouldn't be interoperability
      issues of the files it generates with other JPEG2000 capable
      drivers.<br>
    </p>
    <p>I'm not sure which support of HTJ2K the ECW and MrSID SDKs have.
      I believe there's such support Kakadu in recent releases, but
      might be subject to extra fees (or perhaps for  faster support)</p>
    <p>There's a BSD 2 licensed implementation of HTJ2K in
      <a class="moz-txt-link-freetext" href="https://github.com/aous72/OpenJPH">https://github.com/aous72/OpenJPH</a> . From what I see, Grok HTJ2K
      support has incorporated some of that code.  So for a BSD 2
      compatible use in GDAL, either a GDAL driver should be built from
      OpenJPH as a standalone library, or relevant parts of OpenJPH
      should be "ported" to OpenJPEG.</p>
    <p>Even<br>
    </p>
    <div class="moz-cite-prefix">Le 03/05/2021 à 22:17, Sean Gillies via
      gdal-dev a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CADPhZXzG6tW7xV05L-FiV7FxYe19evzrT6BoQ7n=u8CmHh34Pg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Hi  Aaron, and everyone,</div>
        <div><br>
        </div>
        <div>It seems like interoperability could be harmed if we
          release GDAL with a JP2 driver that writes JPEG 2000 files
          that the main open source JP2 driver can't read. Would it make
          sense to add compatibility to OpenJPEG before the PR gets
          merged? Or are we already in a state of inoperability between
          JP2ECW, JP2MRSID, and JP2OpenJPEG?</div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Mon, May 3, 2021 at 1:52
            PM Aaron Boxer <<a href="mailto:boxerab@gmail.com"
              moz-do-not-send="true">boxerab@gmail.com</a>> wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
            <div dir="ltr">Hi Jean-Roc,
              <div>Good question - unfortunately OpenJPEG doesn't
                currently support HTJ2K,</div>
              <div>it only supports JPEG 2000 Part 1. I am sure that
                this will eventually be integrated,</div>
              <div>but it isn't there at the moment.</div>
              <div>Cheers,</div>
              <div>Aaron</div>
            </div>
            <br>
            <div class="gmail_quote">
              <div dir="ltr" class="gmail_attr">On Mon, May 3, 2021 at
                12:05 PM Jean-Roc Morreale (ml) <<a
                  href="mailto:jrmorreale_ml@enoreth.net"
                  target="_blank" moz-do-not-send="true">jrmorreale_ml@enoreth.net</a>>
                wrote:<br>
              </div>
              <blockquote class="gmail_quote" style="margin:0px 0px 0px
                0.8ex;border-left:1px solid
                rgb(204,204,204);padding-left:1ex">Hi Aaron,<br>
                <br>
                Is the HTJ2K's output still readable by a regular
                GDAL/OpenJPEG ?<br>
                <br>
                Regards,<br>
                Jean-Roc Morreale</blockquote>
            </div>
          </blockquote>
        </div>
        <div><br>
        </div>
        -- <br>
        <div dir="ltr" class="gmail_signature">
          <div dir="ltr">Sean Gillies</div>
        </div>
      </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>