Cmyk64 Struct
An opaque pixel with 16-bit cyan, magenta, yellow and black ink amounts, stored in native endianness.
public struct Cmyk64 : IEquatable<Cmyk64>Remarks
Each component is the amount of an ink: 0 is no ink and 65535 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 |
|---|---|
| Cmyk64(ushort, ushort, ushort, ushort) | Initializes a new instance of the Cmyk64 struct. |
Cmyk64(ushort, ushort, ushort, ushort)
Cmyk64.csMethods
| Name | Description |
|---|---|
| Equals(Cmyk64) | 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()
Cmyk64.csToString()
Cmyk64.csOperators
| Name | Description |
|---|---|
| operator ==(Cmyk64, Cmyk64) | Compares two pixels for equality. |
| operator !=(Cmyk64, Cmyk64) | Compares two pixels for inequality. |
operator ==(Cmyk64, Cmyk64)
Cmyk64.csoperator !=(Cmyk64, Cmyk64)
Cmyk64.csFields
| Name | Description |
|---|---|
| C | The cyan ink. |
| K | The black ink. |
| M | The magenta ink. |
| Y | The yellow ink. |
C
The cyan ink.
public ushort CK
The black ink.
public ushort KM
The magenta ink.
public ushort MY
The yellow ink.
public ushort Y