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.13.1+c1edd0fb6162605291bc60916112af48eb301945
Syntax
C#
public bool ReduceColorComplexity { get; set; }

Property Value

Boolean
See Also