|
|
@ -1,17 +1,17 @@ |
|
|
// Copyright (c) Six Labors.
|
|
|
// Copyright (c) Six Labors.
|
|
|
// Licensed under the Six Labors Split License.
|
|
|
// Licensed under the Six Labors Split License.
|
|
|
|
|
|
|
|
|
// <auto-generated />
|
|
|
|
|
|
|
|
|
|
|
|
using SixLabors.ImageSharp.Metadata.Profiles.Icc; |
|
|
using SixLabors.ImageSharp.Metadata.Profiles.Icc; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorProfiles.Conversion.Icc; |
|
|
namespace SixLabors.ImageSharp.ColorProfiles.Icc; |
|
|
|
|
|
|
|
|
internal static class SrgbV4Profile |
|
|
internal static class CompactSrgbV4Profile |
|
|
{ |
|
|
{ |
|
|
|
|
|
private static readonly Lazy<IccProfile> LazyIccProfile = new(GetIccProfile); |
|
|
|
|
|
|
|
|
// Generated using the sRGB-v4.icc profile found at https://github.com/saucecontrol/Compact-ICC-Profiles
|
|
|
// Generated using the sRGB-v4.icc profile found at https://github.com/saucecontrol/Compact-ICC-Profiles
|
|
|
private static ReadOnlySpan<byte> Data => new byte[] |
|
|
private static ReadOnlySpan<byte> Data => |
|
|
{ |
|
|
[ |
|
|
0, 0, 1, 224, 108, 99, 109, 115, 4, 32, 0, 0, 109, 110, 116, 114, 82, 71, 66, 32, 88, 89, 90, 32, 7, 226, 0, 3, 0, |
|
|
0, 0, 1, 224, 108, 99, 109, 115, 4, 32, 0, 0, 109, 110, 116, 114, 82, 71, 66, 32, 88, 89, 90, 32, 7, 226, 0, 3, 0, |
|
|
20, 0, 9, 0, 14, 0, 29, 97, 99, 115, 112, 77, 83, 70, 84, 0, 0, 0, 0, 115, 97, 119, 115, 99, 116, 114, 108, 0, 0, |
|
|
20, 0, 9, 0, 14, 0, 29, 97, 99, 115, 112, 77, 83, 70, 84, 0, 0, 0, 0, 115, 97, 119, 115, 99, 116, 114, 108, 0, 0, |
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246, 214, 0, 1, 0, 0, 0, 0, 211, 45, 104, 97, 110, 100, 163, 178, 171, |
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246, 214, 0, 1, 0, 0, 0, 0, 211, 45, 104, 97, 110, 100, 163, 178, 171, |
|
|
@ -29,11 +29,9 @@ internal static class SrgbV4Profile |
|
|
3, 143, 88, 89, 90, 32, 0, 0, 0, 0, 0, 0, 98, 150, 0, 0, 183, 137, 0, 0, 24, 218, 88, 89, 90, 32, 0, 0, 0, |
|
|
3, 143, 88, 89, 90, 32, 0, 0, 0, 0, 0, 0, 98, 150, 0, 0, 183, 137, 0, 0, 24, 218, 88, 89, 90, 32, 0, 0, 0, |
|
|
0, 0, 0, 36, 160, 0, 0, 15, 133, 0, 0, 182, 196, 112, 97, 114, 97, 0, 0, 0, 0, 0, 3, 0, 0, 0, 2, 102, 105, |
|
|
0, 0, 0, 36, 160, 0, 0, 15, 133, 0, 0, 182, 196, 112, 97, 114, 97, 0, 0, 0, 0, 0, 3, 0, 0, 0, 2, 102, 105, |
|
|
0, 0, 242, 167, 0, 0, 13, 89, 0, 0, 19, 208, 0, 0, 10, 91, |
|
|
0, 0, 242, 167, 0, 0, 13, 89, 0, 0, 19, 208, 0, 0, 10, 91, |
|
|
}; |
|
|
]; |
|
|
|
|
|
|
|
|
private static readonly Lazy<IccProfile> LazyIccProfile = new(() => GetIccProfile()); |
|
|
public static IccProfile Profile => LazyIccProfile.Value; |
|
|
|
|
|
|
|
|
public static IccProfile GetProfile() => LazyIccProfile.Value; |
|
|
|
|
|
|
|
|
|
|
|
private static IccProfile GetIccProfile() |
|
|
private static IccProfile GetIccProfile() |
|
|
{ |
|
|
{ |
|
|
@ -42,4 +40,3 @@ internal static class SrgbV4Profile |
|
|
return new IccProfile(buffer); |
|
|
return new IccProfile(buffer); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|