diff --git a/tests/ImageSharp.Tests/ColorProfiles/Icc/ColorProfileConverterTests.Icc.cs b/tests/ImageSharp.Tests/ColorProfiles/Icc/ColorProfileConverterTests.Icc.cs index 37fbfa6828..e2fa0760ec 100644 --- a/tests/ImageSharp.Tests/ColorProfiles/Icc/ColorProfileConverterTests.Icc.cs +++ b/tests/ImageSharp.Tests/ColorProfiles/Icc/ColorProfileConverterTests.Icc.cs @@ -90,13 +90,13 @@ public class ColorProfileConverterTests(ITestOutputHelper testOutputHelper) } Channels channels = new(input.Select(value => (double)value).ToArray()); - if (channels.Error != null) + Unicolour source = new(sourceConfig, channels); + Unicolour target = source.ConvertToConfiguration(targetConfig); + if (target.Icc.Error != null) { - testOutputHelper.WriteLine($"Error during Unicolour ICC conversion of supported profile: {channels.Error}"); + testOutputHelper.WriteLine($"Error during Unicolour ICC conversion of supported profile: {target.Icc.Error}"); } - Unicolour source = new(sourceConfig, channels); - Unicolour target = source.ConvertToConfiguration(targetConfig); return target.Icc.Values; } diff --git a/tests/ImageSharp.Tests/TestDataIcc/Profiles/JapanColor2003WebCoated.icc b/tests/ImageSharp.Tests/TestDataIcc/Profiles/JapanColor2003WebCoated.icc index 0cc501bea1..028a3cde63 100644 Binary files a/tests/ImageSharp.Tests/TestDataIcc/Profiles/JapanColor2003WebCoated.icc and b/tests/ImageSharp.Tests/TestDataIcc/Profiles/JapanColor2003WebCoated.icc differ