Enum ImageColorTarget
The colour space an encoder writes its samples in (ColorTarget), or the space ConvertColorSpace(ImageColorTarget, IccProfile, RenderingIntent, bool) brings a buffer into. Conversions are colour-managed: the source is read through its embedded profile (sRGB when it has none) and mapped into the target profile with the chosen rendering intent.
public enum ImageColorTarget
Fields
Original = 0The buffer's own space, RGB or gray as it stands, its profile carried over. The default.
Rgb = 1sRGB (or TargetProfile when it is an RGB profile): a display-ready file. A source tagged with another RGB profile (Adobe RGB, Display P3) is converted, and the sRGB result is written untagged, the web convention.
Gray = 2A single luminance channel through a gray profile; transparency is flattened over white.
Cmyk = 3Four inks through a press profile (TargetProfile, else GenericCmyk), the profile embedded beside the samples. Held by Jpeg and Tiff only; transparency is flattened over white.