Question re -Dsun.java2d.cmm possible available options
Alexey Ushakov
alexey.ushakov at jetbrains.com
Wed Aug 10 16:36:50 UTC 2022
Hello Alex,
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 https://bugs.openjdk.org/browse/JDK-6476534 <https://bugs.openjdk.org/browse/JDK-6476534> for more info). Another candidate was Sample ICC (https://www.color.org/sampleicc.xalter) but it is C++ not java.
Best Regards,
Alexey
> On 6 Jul 2022, at 23:24, Alex Andryushkin <alex.andryushkin at corista.com> wrote:
>
> Hello,
>
> I am sorry for the wide distribution or if I am reaching out to the wrong group.
>
> I am running into issues with using awt/java2d color conversion between ICC profiles.
> It seems to be boiling down to the native library (little-csm) used in java2d.cmm.lcms by default.
> 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.
>
> 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.
>
> Thank you,
> ~ Alex.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/client-libs-dev/attachments/20220810/252a50bf/attachment.htm>
More information about the client-libs-dev
mailing list