CmykColorHelper Class
Helper methods to work with CMYK color presented as a signed 32-bit integer value. Provides the similar API as the CmykColor struct. It's more lightweight because CMYK color is presented just as Int32 rather than structure with internal fields. Please prefer to use static methods of this class when possible instead of the deprecated CmykColor struct.
Inheritance Hierarchy
SystemObject
  Aspose.ImagingCmykColorHelper

Namespace: Aspose.Imaging
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 20.06
Syntax
public static class CmykColorHelper

The CmykColorHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCode exampleFromComponents
Creates CMYK from a 32-bit cyan, magenta, yellow and black values.
Public methodStatic memberCode exampleGetC
Gets the cyan component value.
Public methodStatic memberCode exampleGetK
Gets the black component value.
Public methodStatic memberCode exampleGetM
Gets the magenta component value.
Public methodStatic memberCode exampleGetY
Gets the yellow component value.
Public methodStatic memberCode exampleToArgb(Int32)
The conversion from CMYK color to ARGB color.
Public methodStatic memberToArgb(Int32)
The conversion from CMYK colors to ARGB colors.
Public methodStatic memberToArgb32
The conversion from CMYK colors to ARGB colors.
Public methodStatic memberCode exampleToArgbIcc(Int32)
The conversion from CMYK color to ARGB Color using Icc conversion with default profiles.
Public methodStatic memberToArgbIcc(Int32)
The conversion from CMYK colors to ARGB colors using Icc conversion with default profiles.
Public methodStatic memberCode exampleToArgbIcc(Int32, Stream, Stream)
The conversion from CMYK color to ARGB color using Icc conversion with custom profile.
Public methodStatic memberToArgbIcc(Int32, Stream, Stream)
The conversion from CMYK colors to ARGB colors using Icc conversion with custom profiles.
Public methodStatic memberToCmyk(Int32)
The conversion from ARGB color to CMYK color.
Public methodStatic memberToCmyk(Int32)
The conversion from ARGB colors to CMYK colors.
Public methodStatic memberCode exampleToCmyk(Color)
The conversion from ARGB color to CMYK color.
Public methodStatic memberToCmyk(Color)
The conversion from ARGB colors to CMYK colors.
Public methodStatic memberToCmykBytes
Converts RGB to CMYK.
Public methodStatic memberCode exampleToCmykIcc(Color)
The conversion from ARGB color to CMYK color using Icc conversion with default profiles.
Public methodStatic memberToCmykIcc(Color)
The conversion from ARGB colors to CMYK colors using Icc conversion with default profiles.
Public methodStatic memberCode exampleToCmykIcc(Color, Stream, Stream)
The conversion from ARGB color to CMYK color using Icc conversion with custom profiles.
Public methodStatic memberToCmykIcc(Color, Stream, Stream)
The conversion from ARGB colors to CMYK colors using Icc conversion with custom profiles.
Public methodStatic memberToCmykIccBytes
Converts RGB to CMYK using custom ICC profiles.
See Also