Type Default Value Read Only Static Description
Boolean true No No Whether to allow rendering intent changes.
Notes

The default rendering intent for the operation is determined by the RenderingIntent property.

However formats such as PDF allow multiple rendering intents to be embedded and adjusted as the document is rendered.

This property allows you to decide whether you will allow this type of change or whether it should be ignored.

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