Table of Contents

Method SetQuality

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

SetQuality(int)

Sets the JPEG compression quality.

public JpegImageCompressionOptions SetQuality(int quality)

Parameters

quality int

The JPEG compression quality.

Returns

JpegImageCompressionOptions

The instance used to call the method.

Remarks

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

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

Check the Convert PDF to JPG in .NET article for examples of using this method.