Browse Source
Merge pull request #1161 from SixLabors/js/visibility
Clean Up Namespaces and Visibility
pull/1171/head
James Jackson-South
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
62 changed files with
121 additions and
151 deletions
-
src/ImageSharp/ColorSpaces/Companding/LCompanding.cs
-
src/ImageSharp/ColorSpaces/Conversion/ColorSpaceConverter.Adapt.cs
-
src/ImageSharp/ColorSpaces/Conversion/ColorSpaceConverter.CieLab.cs
-
src/ImageSharp/ColorSpaces/Conversion/ColorSpaceConverter.CieLch.cs
-
src/ImageSharp/ColorSpaces/Conversion/ColorSpaceConverter.CieLchuv.cs
-
src/ImageSharp/ColorSpaces/Conversion/ColorSpaceConverter.CieLuv.cs
-
src/ImageSharp/ColorSpaces/Conversion/ColorSpaceConverter.CieXyy.cs
-
src/ImageSharp/ColorSpaces/Conversion/ColorSpaceConverter.CieXyz.cs
-
src/ImageSharp/ColorSpaces/Conversion/ColorSpaceConverter.Cmyk.cs
-
src/ImageSharp/ColorSpaces/Conversion/ColorSpaceConverter.Hsl.cs
-
src/ImageSharp/ColorSpaces/Conversion/ColorSpaceConverter.Hsv.cs
-
src/ImageSharp/ColorSpaces/Conversion/ColorSpaceConverter.LinearRgb.cs
-
src/ImageSharp/ColorSpaces/Conversion/ColorSpaceConverter.Rgb.cs
-
src/ImageSharp/ColorSpaces/Conversion/ColorSpaceConverter.YCbCr.cs
-
src/ImageSharp/ColorSpaces/Conversion/ColorSpaceConverter.cs
-
src/ImageSharp/ColorSpaces/Conversion/ColorSpaceConverterOptions.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/CieXyChromaticityCoordinates.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Converters/CIeLchToCieLabConverter.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Converters/CieLabToCieLchConverter.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Converters/CieLabToCieXyzConverter.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Converters/CieLchuvToCieLuvConverter.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Converters/CieLuvToCieLchuvConverter.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Converters/CieLuvToCieXyzConverter.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Converters/CieXyzAndCieXyyConverter.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Converters/CieXyzAndHunterLabConverterBase.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Converters/CieXyzAndLmsConverter.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Converters/CieXyzToCieLabConverter.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Converters/CieXyzToCieLuvConverter.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Converters/CieXyzToHunterLabConverter.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Converters/CieXyzToLinearRgbConverter.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Converters/CmykAndRgbConverter.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Converters/HslAndRgbConverter.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Converters/HsvAndRgbConverter.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Converters/HunterLabToCieXyzConverter.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Converters/LinearRgbAndCieXyzConverterBase.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Converters/LinearRgbToCieXyzConverter.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Converters/LinearRgbToRgbConverter.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Converters/RgbToLinearRgbConverter.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Converters/YCbCrAndRgbConverter.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/IChromaticAdaptation.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/LmsAdaptationMatrix.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/RGBPrimariesChromaticityCoordinates.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/VonKriesChromaticAdaptation.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/WorkingSpaces/GammaWorkingSpace.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/WorkingSpaces/LWorkingSpace.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/WorkingSpaces/Rec2020WorkingSpace.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/WorkingSpaces/Rec709WorkingSpace.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/WorkingSpaces/RgbWorkingSpace.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/WorkingSpaces/SRgbWorkingSpace.cs
-
src/ImageSharp/ColorSpaces/LinearRgb.cs
-
src/ImageSharp/ColorSpaces/Rgb.cs
-
src/ImageSharp/ColorSpaces/RgbWorkingSpaces.cs
-
src/ImageSharp/Formats/Png/Zlib/DeflaterConstants.cs
-
src/ImageSharp/Formats/Png/Zlib/DeflaterEngine.cs
-
src/ImageSharp/GeometryUtilities.cs
-
tests/ImageSharp.Tests/Colorspaces/CieXyChromaticityCoordinatesTests.cs
-
tests/ImageSharp.Tests/Colorspaces/Conversion/ApproximateColorspaceComparer.cs
-
tests/ImageSharp.Tests/Colorspaces/Conversion/CieLabAndCieLchConversionTests.cs
-
tests/ImageSharp.Tests/Colorspaces/Conversion/CieLabAndCieLchuvConversionTests.cs
-
tests/ImageSharp.Tests/Colorspaces/Conversion/CieLabAndCieXyyConversionTests.cs
-
tests/ImageSharp.Tests/Colorspaces/Conversion/ColorConverterAdaptTest.cs
-
tests/ImageSharp.Tests/Colorspaces/StringRepresentationTests.cs
|
|
@ -1,4 +1,4 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
|
|
|
@ -1,8 +1,6 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation; |
|
|
|
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <content>
|
|
|
/// <content>
|
|
|
|
|
|
@ -1,10 +1,9 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.InteropServices; |
|
|
using System.Runtime.InteropServices; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation; |
|
|
|
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
|
|
|
@ -1,12 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.InteropServices; |
|
|
using System.Runtime.InteropServices; |
|
|
|
|
|
|
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation; |
|
|
|
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <content>
|
|
|
/// <content>
|
|
|
|
|
|
@ -1,12 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.InteropServices; |
|
|
using System.Runtime.InteropServices; |
|
|
|
|
|
|
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation; |
|
|
|
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <content>
|
|
|
/// <content>
|
|
|
|
|
|
@ -1,12 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.InteropServices; |
|
|
using System.Runtime.InteropServices; |
|
|
|
|
|
|
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation; |
|
|
|
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <content>
|
|
|
/// <content>
|
|
|
|
|
|
@ -1,12 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.InteropServices; |
|
|
using System.Runtime.InteropServices; |
|
|
|
|
|
|
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation; |
|
|
|
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <content>
|
|
|
/// <content>
|
|
|
|
|
|
@ -1,12 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.InteropServices; |
|
|
using System.Runtime.InteropServices; |
|
|
|
|
|
|
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation; |
|
|
|
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <content>
|
|
|
/// <content>
|
|
|
|
|
|
@ -1,12 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.InteropServices; |
|
|
using System.Runtime.InteropServices; |
|
|
|
|
|
|
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation; |
|
|
|
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <content>
|
|
|
/// <content>
|
|
|
|
|
|
@ -1,12 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.InteropServices; |
|
|
using System.Runtime.InteropServices; |
|
|
|
|
|
|
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation; |
|
|
|
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <content>
|
|
|
/// <content>
|
|
|
|
|
|
@ -1,12 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.InteropServices; |
|
|
using System.Runtime.InteropServices; |
|
|
|
|
|
|
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation; |
|
|
|
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <content>
|
|
|
/// <content>
|
|
|
|
|
|
@ -1,12 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.InteropServices; |
|
|
using System.Runtime.InteropServices; |
|
|
|
|
|
|
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation; |
|
|
|
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <content>
|
|
|
/// <content>
|
|
|
|
|
|
@ -1,12 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.InteropServices; |
|
|
using System.Runtime.InteropServices; |
|
|
|
|
|
|
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation; |
|
|
|
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <content>
|
|
|
/// <content>
|
|
|
|
|
|
@ -1,12 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.InteropServices; |
|
|
using System.Runtime.InteropServices; |
|
|
|
|
|
|
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation; |
|
|
|
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <content>
|
|
|
/// <content>
|
|
|
|
|
|
@ -1,8 +1,7 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System.Numerics; |
|
|
using System.Numerics; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation; |
|
|
|
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
|
|
|
@ -1,8 +1,7 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System.Numerics; |
|
|
using System.Numerics; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation; |
|
|
|
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
|
|
|
@ -1,11 +1,11 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
|
// ReSharper disable CompareOfFloatsByEqualityOperator
|
|
|
// ReSharper disable CompareOfFloatsByEqualityOperator
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Represents the coordinates of CIEXY chromaticity space.
|
|
|
/// Represents the coordinates of CIEXY chromaticity space.
|
|
|
@ -4,7 +4,7 @@ |
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Converts from <see cref="CieLch"/> to <see cref="CieLab"/>.
|
|
|
/// Converts from <see cref="CieLch"/> to <see cref="CieLab"/>.
|
|
|
|
|
|
@ -1,10 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Converts from <see cref="CieLab"/> to <see cref="CieLch"/>.
|
|
|
/// Converts from <see cref="CieLab"/> to <see cref="CieLch"/>.
|
|
|
|
|
|
@ -1,10 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System.Numerics; |
|
|
using System.Numerics; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Converts from <see cref="CieLab"/> to <see cref="CieXyz"/>.
|
|
|
/// Converts from <see cref="CieLab"/> to <see cref="CieXyz"/>.
|
|
|
|
|
|
@ -1,10 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Converts from <see cref="CieLch"/> to <see cref="CieLab"/>.
|
|
|
/// Converts from <see cref="CieLch"/> to <see cref="CieLab"/>.
|
|
|
|
|
|
@ -1,10 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Converts from <see cref="CieLab"/> to <see cref="CieLch"/>.
|
|
|
/// Converts from <see cref="CieLab"/> to <see cref="CieLch"/>.
|
|
|
|
|
|
@ -3,7 +3,7 @@ |
|
|
|
|
|
|
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Converts from <see cref="CieLuv"/> to <see cref="CieXyz"/>.
|
|
|
/// Converts from <see cref="CieLuv"/> to <see cref="CieXyz"/>.
|
|
|
|
|
|
@ -4,7 +4,7 @@ |
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Color converter between CIE XYZ and CIE xyY.
|
|
|
/// Color converter between CIE XYZ and CIE xyY.
|
|
|
|
|
|
@ -3,7 +3,7 @@ |
|
|
|
|
|
|
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// The base class for converting between <see cref="HunterLab"/> and <see cref="CieXyz"/> color spaces.
|
|
|
/// The base class for converting between <see cref="HunterLab"/> and <see cref="CieXyz"/> color spaces.
|
|
|
|
|
|
@ -4,7 +4,7 @@ |
|
|
using System.Numerics; |
|
|
using System.Numerics; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Color converter between <see cref="CieXyz"/> and <see cref="Lms"/>
|
|
|
/// Color converter between <see cref="CieXyz"/> and <see cref="Lms"/>
|
|
|
|
|
|
@ -4,7 +4,7 @@ |
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Converts from <see cref="CieXyz"/> to <see cref="CieLab"/>.
|
|
|
/// Converts from <see cref="CieXyz"/> to <see cref="CieLab"/>.
|
|
|
|
|
|
@ -4,7 +4,7 @@ |
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Converts from <see cref="CieXyz"/> to <see cref="CieLuv"/>.
|
|
|
/// Converts from <see cref="CieXyz"/> to <see cref="CieLuv"/>.
|
|
|
|
|
|
@ -4,7 +4,7 @@ |
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Color converter between <see cref="CieXyz"/> and <see cref="HunterLab"/>
|
|
|
/// Color converter between <see cref="CieXyz"/> and <see cref="HunterLab"/>
|
|
|
|
|
|
@ -4,7 +4,7 @@ |
|
|
using System.Numerics; |
|
|
using System.Numerics; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Color converter between <see cref="CieXyz"/> and <see cref="LinearRgb"/>
|
|
|
/// Color converter between <see cref="CieXyz"/> and <see cref="LinearRgb"/>
|
|
|
|
|
|
@ -5,7 +5,7 @@ using System; |
|
|
using System.Numerics; |
|
|
using System.Numerics; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Color converter between <see cref="Cmyk"/> and <see cref="Rgb"/>.
|
|
|
/// Color converter between <see cref="Cmyk"/> and <see cref="Rgb"/>.
|
|
|
|
|
|
@ -4,7 +4,7 @@ |
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Color converter between HSL and Rgb
|
|
|
/// Color converter between HSL and Rgb
|
|
|
|
|
|
@ -4,7 +4,7 @@ |
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Color converter between HSV and Rgb
|
|
|
/// Color converter between HSV and Rgb
|
|
|
|
|
|
@ -1,10 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Color converter between <see cref="HunterLab"/> and <see cref="CieXyz"/>
|
|
|
/// Color converter between <see cref="HunterLab"/> and <see cref="CieXyz"/>
|
|
|
|
|
|
@ -1,9 +1,9 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System.Numerics; |
|
|
using System.Numerics; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Provides base methods for converting between <see cref="LinearRgb"/> and <see cref="CieXyz"/> color spaces.
|
|
|
/// Provides base methods for converting between <see cref="LinearRgb"/> and <see cref="CieXyz"/> color spaces.
|
|
|
|
|
|
@ -1,10 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System.Numerics; |
|
|
using System.Numerics; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Color converter between <see cref="LinearRgb"/> and <see cref="CieXyz"/>
|
|
|
/// Color converter between <see cref="LinearRgb"/> and <see cref="CieXyz"/>
|
|
|
|
|
|
@ -1,9 +1,9 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Color converter between <see cref="LinearRgb"/> and <see cref="Rgb"/>.
|
|
|
/// Color converter between <see cref="LinearRgb"/> and <see cref="Rgb"/>.
|
|
|
|
|
|
@ -1,9 +1,9 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Color converter between Rgb and LinearRgb.
|
|
|
/// Color converter between Rgb and LinearRgb.
|
|
|
|
|
|
@ -5,7 +5,7 @@ using System; |
|
|
using System.Numerics; |
|
|
using System.Numerics; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Color converter between <see cref="YCbCr"/> and <see cref="Rgb"/>
|
|
|
/// Color converter between <see cref="YCbCr"/> and <see cref="Rgb"/>
|
|
|
|
|
|
@ -1,9 +1,9 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System.Numerics; |
|
|
using System.Numerics; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Matrices used for transformation from <see cref="CieXyz"/> to <see cref="Lms"/>, defining the cone response domain.
|
|
|
/// Matrices used for transformation from <see cref="CieXyz"/> to <see cref="Lms"/>, defining the cone response domain.
|
|
|
|
|
|
@ -1,9 +1,9 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Represents the chromaticity coordinates of RGB primaries.
|
|
|
/// Represents the chromaticity coordinates of RGB primaries.
|
|
|
|
|
|
@ -1,11 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
using System.Numerics; |
|
|
using System.Numerics; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.InteropServices; |
|
|
using System.Runtime.InteropServices; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation; |
|
|
|
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
@ -1,11 +1,11 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Companding; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Companding; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// The gamma working space.
|
|
|
/// The gamma working space.
|
|
|
|
|
|
@ -1,10 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Companding; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Companding; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// L* working space.
|
|
|
/// L* working space.
|
|
|
|
|
|
@ -1,10 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Companding; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Companding; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Rec. 2020 (ITU-R Recommendation BT.2020F) working space.
|
|
|
/// Rec. 2020 (ITU-R Recommendation BT.2020F) working space.
|
|
|
|
|
|
@ -1,10 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Companding; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Companding; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Rec. 709 (ITU-R Recommendation BT.709) working space.
|
|
|
/// Rec. 709 (ITU-R Recommendation BT.709) working space.
|
|
|
|
|
|
@ -1,9 +1,9 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Base class for all implementations of <see cref="RgbWorkingSpace"/>.
|
|
|
/// Base class for all implementations of <see cref="RgbWorkingSpace"/>.
|
|
|
|
|
|
@ -1,10 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Companding; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Companding; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation |
|
|
namespace SixLabors.ImageSharp.ColorSpaces.Conversion |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// The sRgb working space.
|
|
|
/// The sRgb working space.
|
|
|
|
|
|
@ -1,10 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
using System.Numerics; |
|
|
using System.Numerics; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces |
|
|
namespace SixLabors.ImageSharp.ColorSpaces |
|
|
{ |
|
|
{ |
|
|
|
|
|
@ -1,10 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
using System.Numerics; |
|
|
using System.Numerics; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion; |
|
|
using SixLabors.ImageSharp.PixelFormats; |
|
|
using SixLabors.ImageSharp.PixelFormats; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces |
|
|
namespace SixLabors.ImageSharp.ColorSpaces |
|
|
|
|
|
@ -1,8 +1,8 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using SixLabors.ImageSharp.ColorSpaces.Companding; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Companding; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion; |
|
|
|
|
|
|
|
|
// ReSharper disable InconsistentNaming
|
|
|
// ReSharper disable InconsistentNaming
|
|
|
namespace SixLabors.ImageSharp.ColorSpaces |
|
|
namespace SixLabors.ImageSharp.ColorSpaces |
|
|
|
|
|
@ -3,15 +3,13 @@ |
|
|
|
|
|
|
|
|
// <auto-generated/>
|
|
|
// <auto-generated/>
|
|
|
using System; |
|
|
using System; |
|
|
using System.Collections.Generic; |
|
|
|
|
|
using System.Text; |
|
|
|
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.Formats.Png.Zlib |
|
|
namespace SixLabors.ImageSharp.Formats.Png.Zlib |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// This class contains constants used for deflation.
|
|
|
/// This class contains constants used for deflation.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public static class DeflaterConstants |
|
|
internal static class DeflaterConstants |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Set to true to enable debugging
|
|
|
/// Set to true to enable debugging
|
|
|
|
|
|
@ -11,7 +11,7 @@ namespace SixLabors.ImageSharp.Formats.Png.Zlib |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Strategies for deflater
|
|
|
/// Strategies for deflater
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public enum DeflateStrategy |
|
|
internal enum DeflateStrategy |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// The default strategy
|
|
|
/// The default strategy
|
|
|
|
|
|
@ -1,10 +1,10 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
using System.Runtime.CompilerServices; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
|
namespace SixLabors |
|
|
namespace SixLabors.ImageSharp |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Utility class for common geometric functions.
|
|
|
/// Utility class for common geometric functions.
|
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using SixLabors.ImageSharp.ColorSpaces; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion; |
|
|
using Xunit; |
|
|
using Xunit; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.Tests.Colorspaces |
|
|
namespace SixLabors.ImageSharp.Tests.Colorspaces |
|
|
|
|
|
@ -3,7 +3,7 @@ |
|
|
|
|
|
|
|
|
using System.Collections.Generic; |
|
|
using System.Collections.Generic; |
|
|
using SixLabors.ImageSharp.ColorSpaces; |
|
|
using SixLabors.ImageSharp.ColorSpaces; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.Tests.Colorspaces.Conversion |
|
|
namespace SixLabors.ImageSharp.Tests.Colorspaces.Conversion |
|
|
{ |
|
|
{ |
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System; |
|
|
using System; |
|
|
|
|
|
@ -3,7 +3,6 @@ |
|
|
|
|
|
|
|
|
using SixLabors.ImageSharp.ColorSpaces; |
|
|
using SixLabors.ImageSharp.ColorSpaces; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion; |
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation; |
|
|
|
|
|
using Xunit; |
|
|
using Xunit; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.Tests.Colorspaces.Conversion |
|
|
namespace SixLabors.ImageSharp.Tests.Colorspaces.Conversion |
|
|
|
|
|
@ -3,6 +3,7 @@ |
|
|
|
|
|
|
|
|
using System.Numerics; |
|
|
using System.Numerics; |
|
|
using SixLabors.ImageSharp.ColorSpaces; |
|
|
using SixLabors.ImageSharp.ColorSpaces; |
|
|
|
|
|
using SixLabors.ImageSharp.ColorSpaces.Conversion; |
|
|
using Xunit; |
|
|
using Xunit; |
|
|
|
|
|
|
|
|
namespace SixLabors.ImageSharp.Tests.Colorspaces |
|
|
namespace SixLabors.ImageSharp.Tests.Colorspaces |
|
|
|