<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    Right. And it was never intended to allow an app to provide the CMM
    .. it was just<br>
    for choosing between built-in ones. <br>
    <br>
    We probably can ditch the code that reads the property now since it
    hasn't had any purpose since (IIRC) JDK 9.<br>
    <br>
    Perhaps - if you believe it is really a LCMS issue, that you start
    by reporting your problem to<br>
    the upstream littlecms project.<br>
    <br>
    But if it is a JDK-specific issue in the way we use LCMS or the
    profiles bundled with OpenJDK<br>
    then you should file a JDK bug report at
    <a class="moz-txt-link-freetext" href="https://bugreport.java.com/bugreport/">https://bugreport.java.com/bugreport/</a><br>
    <br>
    -phil.<br>
    <br>
    <div class="moz-cite-prefix">On 8/10/22 9:36 AM, Alexey Ushakov
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:F662BD8B-1B66-4651-92F2-1D422A263F71@jetbrains.com">
      
      Hello Alex,
      <div class=""><br class="">
      </div>
      <div class="">This option (-Dsun.java2d.cmm ) was implemented to
        switch between proprietary Color Management library from Kodak
        and open source Little CMS during transition JDK to open source
        (See <a href="https://bugs.openjdk.org/browse/JDK-6476534" class="moz-txt-link-freetext" moz-do-not-send="true">https://bugs.openjdk.org/browse/JDK-6476534</a> for
        more info). Another candidate was Sample ICC (<a href="https://www.color.org/sampleicc.xalter" class="moz-txt-link-freetext" moz-do-not-send="true">https://www.color.org/sampleicc.xalter</a>)
        but it is C++ not java.</div>
      <div class=""><br class="">
      </div>
      <div class="">Best Regards,</div>
      <div class="">Alexey </div>
      <div class="">
        <div><br class="">
          <blockquote type="cite" class="">
            <div class="">On 6 Jul 2022, at 23:24, Alex Andryushkin <<a href="mailto:alex.andryushkin@corista.com" class="moz-txt-link-freetext" moz-do-not-send="true">alex.andryushkin@corista.com</a>>
              wrote:</div>
            <br class="Apple-interchange-newline">
            <div class="">
              <div dir="ltr" class="">Hello,
                <div class=""><br class="">
                </div>
                <div class="">I am sorry for the wide distribution or if
                  I am reaching out to the wrong group.</div>
                <div class=""><br class="">
                </div>
                <div class="">I am running into issues with using
                  awt/java2d color conversion between ICC profiles.</div>
                <div class="">It seems to be boiling down to the native
                  library (little-csm) used in java2d.cmm.lcms by
                  default.</div>
                <div class="">At the same time I think there is an
                  option -Dsun.java2d.cmm defaulting to
                  sun.java2d.cmm.lcms.LcmsServiceProvider, hence it
                  feels that there could be other providers, hopefully
                  not dependent on little-csm. But I was not able to
                  find any.</div>
                <div class=""><br class="">
                </div>
                <div class="">Question: Are there known alternatives to
                  sun.java2d.cmm.lcms.LcmsServiceProvider, which can be
                  used as an override, with -Dsun.java2d.cmm option.
                  Preferably a pure-java implementation, even though it
                  will be slower.</div>
                <div class=""><br class="">
                </div>
                <div class="">Thank you,</div>
                <div class="">~ Alex.</div>
              </div>
            </div>
          </blockquote>
        </div>
        <br class="">
      </div>
    </blockquote>
    <br>
  </body>
</html>