Click or drag to resize
Pdftools logo

ImageRecompressionOptionsReduceColorComplexity Property

Enable color complexity reduction.

When enabled, the software analyzes images that utilize device color spaces (DeviceRGB, DeviceCMYK, or DeviceGray) as well as indexed images with a device color space as their base. If applicable, the images are converted according to the following criteria:
  • Images in DeviceRGB or DeviceCMYK color space where all pixels are gray will be converted to grayscale using the DeviceGray color space.
  • Images containing only black and white pixels will be converted to bitonal images.
  • Images where all pixels are of the same color will be downsampled to a single pixel.
Additionally, image masks and soft masks are optimized in the following ways:
  • Soft masks consisting only of black and white pixels will be converted into a standard mask.
  • Any (soft) mask that is completely opaque will be removed.
Default:

Namespace: PdfTools.Optimization
Assembly: PdfTools (in PdfTools.dll) Version: 1.6.0+e1db8f4bf6125495a2d29513486ea3e61205c81b
Syntax
C#
public bool ReduceColorComplexity { get; set; }

Property Value

Boolean
See Also