Cmyk32 Struct
An opaque pixel with 8-bit cyan, magenta, yellow and black ink amounts.
public struct Cmyk32 : IEquatable<Cmyk32>Remarks
Each component is the amount of an ink: 0 is no ink and 255 is full coverage (paper white is (0, 0, 0, 0)). Files that store the complement (Adobe CMYK JPEG files) are complemented when they are read and written.
The colors of the inks depend on the printing condition, described by the CMYK ICC profile of the image (ImageMetadata.IccProfile). Converting CMYK pixels to another pixel format converts their colors, which needs PixelConversionOptions.CmykConversion.
- Implements
Constructors
| Name | Description |
|---|---|
| Cmyk32(byte, byte, byte, byte) | Initializes a new instance of the Cmyk32 struct. |
Cmyk32(byte, byte, byte, byte)
Cmyk32.csMethods
| Name | Description |
|---|---|
| Equals(Cmyk32) | Indicates whether the current object is equal to another object of the same type. |
| Equals(object?) | Indicates whether this instance and a specified object are equal. |
| GetHashCode() | Returns the hash code for this instance. |
| ToString() | Returns the fully qualified type name of this instance. |
GetHashCode()
Cmyk32.csToString()
Cmyk32.csOperators
| Name | Description |
|---|---|
| operator ==(Cmyk32, Cmyk32) | Compares two pixels for equality. |
| operator !=(Cmyk32, Cmyk32) | Compares two pixels for inequality. |
operator ==(Cmyk32, Cmyk32)
Cmyk32.csoperator !=(Cmyk32, Cmyk32)
Cmyk32.csFields
| Name | Description |
|---|---|
| C | The cyan ink. |
| K | The black ink. |
| M | The magenta ink. |
| Y | The yellow ink. |
C
The cyan ink.
public byte CK
The black ink.
public byte KM
The magenta ink.
public byte MY
The yellow ink.
public byte Y