RFR: 4760025: sRGB conversions to and from CIE XYZ incorrect [v2]
Sergey Bylokhov
serb at openjdk.org
Fri Jan 12 22:35:36 UTC 2024
On Fri, 12 Jan 2024 21:37:45 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
>> Sergey Bylokhov has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Update SimpleSRGBToFromCIEXYZ.java
>
> test/jdk/java/awt/color/ICC_ColorSpace/SimpleSRGBToFromCIEXYZ.java line 42:
>
>> 40:
>> 41: if (inv[0] != 0 || Math.abs(inv[1] - g) > 0.0001f || inv[2] != 0) {
>> 42: System.err.println("Expected color:\t" + toString(rgb));
>
> `Arrays.toString(rgb)` instead of custom `toString`?
+1
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17388#discussion_r1450983454
More information about the client-libs-dev
mailing list