PdfImage.RecompressWithJpeg Method (Int32)

Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf Namespace > PdfImage Class > PdfImage Methods > RecompressWithJpeg Method > RecompressWithJpeg Method (Int32)
Recompresses image data using JPEG baseline format and specified compression quality.

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

Syntax

C#
public void RecompressWithJpeg(
	int jpegQuality
)
Visual Basic
Public Sub RecompressWithJpeg ( 
	jpegQuality As Integer
)

Parameters

jpegQuality
Type: System..::..Int32
The JPEG quality.

Remarks

The JPEG quality value should be between 1 and 100 inclusive.

The quality value of 100 preserves most details but produces biggest output.

See Also