Skip to content

PdfImage.ApplyFilter Method

ApplyFilter(PdfFilterType)

Applies the specified PDF compression filter to image data.

C#
public virtual void ApplyFilter(PdfFilterType pdfFilter)

Parameters

pdfFilter PdfFilterType

Type of compression to apply

Remarks

The image data is already compressed so calling this method will compress it again and this might cause an increase in final size.
This method can be called multiple times to chain multiple PDF filters.