PdfImage.RecompressWithJpeg Method

Recompresses image data using JPEG baseline format.

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

Syntax

C#
public void RecompressWithJpeg()
VB
Public Sub RecompressWithJpeg

Remarks

The JPEG quality is set to 100 during recompression.

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

See Also