Enum JpegEncodingColor
- Namespace
- SixLabors.ImageSharp.Formats.Jpeg
- Assembly
- SixLabors.ImageSharp.dll
Provides enumeration of available JPEG color types.
public enum JpegEncodingColor : byte
Fields
Cmyk = 7
CMYK colorspace (cyan, magenta, yellow, and key black) intended for printing.
Luminance = 5
Single channel, luminance.
Rgb = 6
The pixel data will be preserved as RGB without any sub sampling.
YCbCrRatio410 = 4
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 = 3
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 = 0
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 = 2
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 = 1
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 = 8
YCCK colorspace (Y, Cb, Cr, and key black).