PdfImage.RecompressWithGroup4Fax Method

Recompresses image data using Group 4 CCITT facsimile (fax) encoding.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public void RecompressWithGroup4Fax()
VB
Public Sub RecompressWithGroup4Fax

Remarks

Using Group 4 CCITT facsimile (fax) encoding will cause image data to be converted to bilevel (black-and-white) format if necessary.

The threshold level is set to default value (189) during recompression.

This method throws UnsupportedImageException when used on an inline image. You can check IsInline property before invoking this method.

See Also