Skip to main content

Interface IColorManagement

Namespace: Aurigma.DesignAtoms.ColorManagement​
Assembly: Aurigma.DesignAtoms.dll​
Syntax
public interface IColorManagement : IDisposable

Inherited Members​

  • System.IDisposable.Dispose

Properties​

Srgb​

ColorProfile Srgb { get; }

DefaultRgbProfile​

ColorProfile DefaultRgbProfile { get; }

DefaultCmykProfile​

ColorProfile DefaultCmykProfile { get; }

DefaultGrayscaleProfile​

ColorProfile DefaultGrayscaleProfile { get; }

DefaultSourceColorProfiles​

ISourceColorProfiles DefaultSourceColorProfiles { get; }

ColorProfileManager​

IColorProfileManager ColorProfileManager { get; }

DefaultPreviewColorSettings​

IRenderingColorSettings DefaultPreviewColorSettings { get; }

Methods​

GetDefaultProfile​

ColorProfile GetDefaultProfile(ColorSpace colorSpace)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Color.ColorSpacecolorSpace
Returns​

Aurigma.GraphicsMill.ColorProfile

GetProfile​

ColorProfile GetProfile(Color color, ISourceColorProfiles sourceColorProfiles = null)
Parameters​
TypeNameDescription
Aurigma.GraphicsMill.Colorcolor
Aurigma.DesignAtoms.ColorManagement.ISourceColorProfilessourceColorProfiles
Returns​

Aurigma.GraphicsMill.ColorProfile

GetProfileOrDefault​

ColorProfile GetProfileOrDefault(ColorSpace colorSpace, ISourceColorProfiles sourceColorProfiles = null)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Color.ColorSpacecolorSpace
Aurigma.DesignAtoms.ColorManagement.ISourceColorProfilessourceColorProfiles
Returns​

Aurigma.GraphicsMill.ColorProfile

GetTransparentColor​

Color GetTransparentColor(PixelFormat pixelFormat)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Color.PixelFormatpixelFormat
Returns​

Aurigma.GraphicsMill.Color

GetTransparentColor​

Color GetTransparentColor(ColorSpace colorSpace)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Color.ColorSpacecolorSpace
Returns​

Aurigma.GraphicsMill.Color

GetBlackColor​

Color GetBlackColor(ColorSpace colorSpace)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Color.ColorSpacecolorSpace
Returns​

Aurigma.GraphicsMill.Color

GetWhiteColor​

Color GetWhiteColor(ColorSpace colorSpace)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Color.ColorSpacecolorSpace
Returns​

Aurigma.GraphicsMill.Color

GetColorConverter​

IColorConverter GetColorConverter(PixelFormat sourcePixelFormat, ColorProfile sourceColorProfile, IRenderingColorSettings colorSettings)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Color.PixelFormatsourcePixelFormat
Aurigma.GraphicsMill.ColorProfilesourceColorProfile
Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettingscolorSettings
Returns​

Aurigma.DesignAtoms.ColorManagement.IColorConverter

GetColorConverter​

IColorConverter GetColorConverter(PixelFormat sourcePixelFormat, ColorProfile sourceColorProfile, IRenderingColorSettings colorSettings, PixelFormat? destinationPixelFormat, ColorProfile destinationColorProfile = null)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Color.PixelFormatsourcePixelFormat
Aurigma.GraphicsMill.ColorProfilesourceColorProfile
Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettingscolorSettings
System.Nullable<Aurigma.DesignAtoms.Model.Color.PixelFormat>destinationPixelFormat
Aurigma.GraphicsMill.ColorProfiledestinationColorProfile
Returns​

Aurigma.DesignAtoms.ColorManagement.IColorConverter

GetBlackAndWhiteColorConverter​

IColorConverter GetBlackAndWhiteColorConverter(PixelFormat sourcePixelFormat, ISourceColorProfiles sourceColorProfiles = null)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Color.PixelFormatsourcePixelFormat
Aurigma.DesignAtoms.ColorManagement.ISourceColorProfilessourceColorProfiles
Returns​

Aurigma.DesignAtoms.ColorManagement.IColorConverter

ConvertColor​

Color ConvertColor(Color color, IRenderingColorSettings colorSettings, PixelFormat? destinationPixelFormat, bool renderOnPdf = false)
Parameters​
TypeNameDescription
Aurigma.GraphicsMill.Colorcolor
Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettingscolorSettings
System.Nullable<Aurigma.DesignAtoms.Model.Color.PixelFormat>destinationPixelFormat
System.BooleanrenderOnPdf
Returns​

Aurigma.GraphicsMill.Color

LoadColorProfileAsync​

Task<ColorProfile> LoadColorProfileAsync(string profileDescription)
Parameters​
TypeNameDescription
System.StringprofileDescription
Returns​

System.Threading.Tasks.Task<Aurigma.GraphicsMill.ColorProfile>

LoadColorProfileOrDefaultAsync​

Task<ColorProfile> LoadColorProfileOrDefaultAsync(string profileDescription, ColorSpace colorSpace)
Parameters​
TypeNameDescription
System.StringprofileDescription
Aurigma.DesignAtoms.Model.Color.ColorSpacecolorSpace
Returns​

System.Threading.Tasks.Task<Aurigma.GraphicsMill.ColorProfile>

SaveColorProfileAsync​

Task SaveColorProfileAsync(ColorProfile colorProfile)
Parameters​
TypeNameDescription
Aurigma.GraphicsMill.ColorProfilecolorProfile
Returns​

System.Threading.Tasks.Task

ContainsColorProfileAsync​

Task<bool> ContainsColorProfileAsync(string description)
Parameters​
TypeNameDescription
System.Stringdescription
Returns​

System.Threading.Tasks.Task<System.Boolean>

GetPixelFormat​

PixelFormat GetPixelFormat(ColorSpace colorSpace, bool withAlpha = true)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Color.ColorSpacecolorSpace
System.BooleanwithAlpha
Returns​

Aurigma.DesignAtoms.Model.Color.PixelFormat

CompareProfiles​

bool CompareProfiles(ColorProfile cp1, ColorProfile cp2)
Parameters​
TypeNameDescription
Aurigma.GraphicsMill.ColorProfilecp1
Aurigma.GraphicsMill.ColorProfilecp2
Returns​

System.Boolean

GetAlpha​

byte GetAlpha(Color color)
Parameters​
TypeNameDescription
Aurigma.GraphicsMill.Colorcolor
Returns​

System.Byte

Was this page helpful?