Browse Source

Create ColorProfileHandling.cs

pull/1567/head
James Jackson-South 3 years ago
parent
commit
ece11eb5c7
  1. 21
      src/ImageSharp/Formats/ColorProfileHandling.cs

21
src/ImageSharp/Formats/ColorProfileHandling.cs

@ -0,0 +1,21 @@
// Copyright (c) Six Labors.
// Licensed under the Six Labors Split License.
namespace SixLabors.ImageSharp.Formats;
/// <summary>
/// Provides enumeration of methods that control how ICC profiles are handled during decode.
/// </summary>
public enum ColorProfileHandling
{
/// <summary>
/// Leaves any embedded ICC color profiles intact.
/// </summary>
Preserve,
/// <summary>
/// Transforms the pixels of the image based on the conversion of any embedded ICC color profiles to sRGB.
/// The original profile is then removed.
/// </summary>
Convert
}
Loading…
Cancel
Save