Back to Website
Show / Hide Table of Contents

Class ColorManagement

Inheritance
System.Object
ColorManagement
Implements
IColorManagement
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Aurigma.DesignAtoms.ColorManagement
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class ColorManagement : IColorManagement, IDisposable

Constructors

ColorManagement(IConfiguration, IColorProfileManager)

Declaration
public ColorManagement(IConfiguration configuration, IColorProfileManager colorProfileManager)
Parameters
Type Name Description
IConfiguration configuration
IColorProfileManager colorProfileManager

Properties

ColorProfileManager

Declaration
public IColorProfileManager ColorProfileManager { get; }
Property Value
Type Description
IColorProfileManager

DefaultCmykProfile

Declaration
public ColorProfile DefaultCmykProfile { get; }
Property Value
Type Description
Aurigma.GraphicsMill.ColorProfile

DefaultGrayscaleProfile

Declaration
public ColorProfile DefaultGrayscaleProfile { get; }
Property Value
Type Description
Aurigma.GraphicsMill.ColorProfile

DefaultPreviewColorSettings

Declaration
public IRenderingColorSettings DefaultPreviewColorSettings { get; }
Property Value
Type Description
IRenderingColorSettings

DefaultRgbProfile

Declaration
public ColorProfile DefaultRgbProfile { get; }
Property Value
Type Description
Aurigma.GraphicsMill.ColorProfile

DefaultSourceColorProfiles

Declaration
public ISourceColorProfiles DefaultSourceColorProfiles { get; }
Property Value
Type Description
ISourceColorProfiles

Srgb

Declaration
public ColorProfile Srgb { get; }
Property Value
Type Description
Aurigma.GraphicsMill.ColorProfile

Methods

CompareProfiles(ColorProfile, ColorProfile)

Declaration
public bool CompareProfiles(ColorProfile cp1, ColorProfile cp2)
Parameters
Type Name Description
Aurigma.GraphicsMill.ColorProfile cp1
Aurigma.GraphicsMill.ColorProfile cp2
Returns
Type Description
System.Boolean

ContainsColorProfileAsync(String)

Declaration
public Task<bool> ContainsColorProfileAsync(string description)
Parameters
Type Name Description
System.String description
Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>

ConvertColor(Color, IRenderingColorSettings, Nullable<PixelFormat>, Boolean)

Declaration
public Color ConvertColor(Color color, IRenderingColorSettings colorSettings, PixelFormat? destinationPixelFormat, bool renderOnPdf = false)
Parameters
Type Name Description
Aurigma.GraphicsMill.Color color
IRenderingColorSettings colorSettings
System.Nullable<PixelFormat> destinationPixelFormat
System.Boolean renderOnPdf
Returns
Type Description
Aurigma.GraphicsMill.Color

Dispose()

Declaration
public void Dispose()

GetAlpha(Color)

Declaration
public byte GetAlpha(Color color)
Parameters
Type Name Description
Aurigma.GraphicsMill.Color color
Returns
Type Description
System.Byte

GetBlackAndWhiteColorConverter(PixelFormat, ISourceColorProfiles)

Declaration
public IColorConverter GetBlackAndWhiteColorConverter(PixelFormat sourcePixelFormat, ISourceColorProfiles sourceColorProfiles = null)
Parameters
Type Name Description
PixelFormat sourcePixelFormat
ISourceColorProfiles sourceColorProfiles
Returns
Type Description
IColorConverter

GetBlackColor(ColorSpace)

Declaration
public Color GetBlackColor(ColorSpace colorSpace)
Parameters
Type Name Description
ColorSpace colorSpace
Returns
Type Description
Aurigma.GraphicsMill.Color

GetColorConverter(PixelFormat, ColorProfile, IRenderingColorSettings)

Declaration
public IColorConverter GetColorConverter(PixelFormat sourcePixelFormat, ColorProfile sourceColorProfile, IRenderingColorSettings colorSettings)
Parameters
Type Name Description
PixelFormat sourcePixelFormat
Aurigma.GraphicsMill.ColorProfile sourceColorProfile
IRenderingColorSettings colorSettings
Returns
Type Description
IColorConverter

GetColorConverter(PixelFormat, ColorProfile, IRenderingColorSettings, Nullable<PixelFormat>, ColorProfile)

Declaration
public IColorConverter GetColorConverter(PixelFormat sourcePixelFormat, ColorProfile sourceColorProfile, IRenderingColorSettings colorSettings, PixelFormat? destinationPixelFormat, ColorProfile destinationColorProfile = null)
Parameters
Type Name Description
PixelFormat sourcePixelFormat
Aurigma.GraphicsMill.ColorProfile sourceColorProfile
IRenderingColorSettings colorSettings
System.Nullable<PixelFormat> destinationPixelFormat
Aurigma.GraphicsMill.ColorProfile destinationColorProfile
Returns
Type Description
IColorConverter

GetDefaultProfile(ColorSpace)

Declaration
public ColorProfile GetDefaultProfile(ColorSpace colorSpace)
Parameters
Type Name Description
ColorSpace colorSpace
Returns
Type Description
Aurigma.GraphicsMill.ColorProfile

GetPixelFormat(ColorSpace, Boolean)

Declaration
public PixelFormat GetPixelFormat(ColorSpace colorSpace, bool withAlpha = true)
Parameters
Type Name Description
ColorSpace colorSpace
System.Boolean withAlpha
Returns
Type Description
PixelFormat

GetProfile(Color, ISourceColorProfiles)

Declaration
public ColorProfile GetProfile(Color color, ISourceColorProfiles sourceColorProfiles = null)
Parameters
Type Name Description
Aurigma.GraphicsMill.Color color
ISourceColorProfiles sourceColorProfiles
Returns
Type Description
Aurigma.GraphicsMill.ColorProfile

GetProfileOrDefault(ColorSpace, ISourceColorProfiles)

Declaration
public ColorProfile GetProfileOrDefault(ColorSpace colorSpace, ISourceColorProfiles sourceColorProfiles = null)
Parameters
Type Name Description
ColorSpace colorSpace
ISourceColorProfiles sourceColorProfiles
Returns
Type Description
Aurigma.GraphicsMill.ColorProfile

GetTransparentColor(ColorSpace)

Declaration
public Color GetTransparentColor(ColorSpace colorSpace)
Parameters
Type Name Description
ColorSpace colorSpace
Returns
Type Description
Aurigma.GraphicsMill.Color

GetTransparentColor(PixelFormat)

Declaration
public Color GetTransparentColor(PixelFormat pixelFormat)
Parameters
Type Name Description
PixelFormat pixelFormat
Returns
Type Description
Aurigma.GraphicsMill.Color

GetWhiteColor(ColorSpace)

Declaration
public Color GetWhiteColor(ColorSpace colorSpace)
Parameters
Type Name Description
ColorSpace colorSpace
Returns
Type Description
Aurigma.GraphicsMill.Color

LoadColorProfileAsync(String)

Declaration
public Task<ColorProfile> LoadColorProfileAsync(string description)
Parameters
Type Name Description
System.String description
Returns
Type Description
System.Threading.Tasks.Task<Aurigma.GraphicsMill.ColorProfile>

LoadColorProfileOrDefaultAsync(String, ColorSpace)

Declaration
public Task<ColorProfile> LoadColorProfileOrDefaultAsync(string description, ColorSpace colorSpace)
Parameters
Type Name Description
System.String description
ColorSpace colorSpace
Returns
Type Description
System.Threading.Tasks.Task<Aurigma.GraphicsMill.ColorProfile>

SaveColorProfileAsync(ColorProfile)

Declaration
public Task SaveColorProfileAsync(ColorProfile colorProfile)
Parameters
Type Name Description
Aurigma.GraphicsMill.ColorProfile colorProfile
Returns
Type Description
System.Threading.Tasks.Task

Implements

IColorManagement
System.IDisposable
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback