Enum JpegEncodingColor
Provides enumeration of available JPEG color types.
Namespace: SixLabors.ImageSharp.Formats.Jpeg
Assembly: SixLabors.ImageSharp.dll
Syntax
public enum JpegEncodingColor : byte
Fields
Name | Description |
---|---|
Cmyk | CMYK colorspace (cyan, magenta, yellow, and key black) intended for printing. |
Luminance | Single channel, luminance. |
Rgb | The pixel data will be preserved as RGB without any sub sampling. |
YCbCrRatio410 | YCbCr (luminance, blue chroma, red chroma) color as defined in the ITU-T T.871 specification. This ratio uses half of the vertical and one-fourth the horizontal color resolutions. |
YCbCrRatio411 | YCbCr (luminance, blue chroma, red chroma) color as defined in the ITU-T T.871 specification. In 4:1:1 chroma subsampling, the horizontal color resolution is quartered. |
YCbCrRatio420 | YCbCr (luminance, blue chroma, red chroma) color as defined in the ITU-T T.871 specification. Medium Quality - The horizontal sampling is halved and the Cb and Cr channels are only sampled on each alternate line. |
YCbCrRatio422 | YCbCr (luminance, blue chroma, red chroma) color as defined in the ITU-T T.871 specification. The two chroma components are sampled at half the horizontal sample rate of luma while vertically it has full resolution. |
YCbCrRatio444 | YCbCr (luminance, blue chroma, red chroma) color as defined in the ITU-T T.871 specification. High Quality - Each of the three Y'CbCr components have the same sample rate, thus there is no chroma subsampling. |
Ycck | YCCK colorspace (Y, Cb, Cr, and key black). |