Type Default Value Read Only Static Description
RenderingIntent RelativeColorimetric No No The default rendering intent for the operation.
Notes

The rendering intent determines how out of gamut colors are handled.

The perceptual model maps the entire gamut of the source color space into the destination one and is good for photographic type images. The saturation model is good for diagrams, cartoons or posterized images where distinctiveness of color is more important than precise color fidelity. The colorimetric methods remap only those colors which are out of gamut. The relative one keeps the color values the same while allowing the brightness to vary. The absolute colorimetric method uses the closest color at the gamut boundary.

In general you will want to use a perceptual intent when mapping from a large gamut color space (e.g. RGB) to a narrow one (e.g. CMYK). In general you will want to use a relative colorimetric intent when mapping between similar color spaces (e.g. RGB to RGB or CMYK to CMYK).

Example

Here we save a cmyk jpg using a saturation rendering intent.

[C#]

using (Bitmap bm = (Bitmap)Bitmap.FromFile(Server.MapPath("rez/jeremy-bishop-_CFv3bntQlQ-unsplash.jpg"))) {
  EncoderParameters pars = new EncoderParameters();
  pars.RenderingIntent = RenderingIntent.Saturation;
  pars.AllowIntentChanges = false;
  pars.ColorSpace = ColorSpace.CMYK;
  bm.Save(Server.MapPath("IG8_EncoderParameters_ColorSpace.jpg"), ImageFormat.Jpeg, pars);
}



jeremy-bishop-_CFv3bntQlQ-unsplash.jpg


IG8_EncoderParameters_ColorSpace.jpg