Sets the JPEG 2000 compression ratio for all frames.

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

Syntax

C#
public void SetJpeg2000CompressionRatio(
	int compressionRatio
)
VB
Public Sub SetJpeg2000CompressionRatio ( 
	compressionRatio As Integer
)

Parameters

compressionRatio
Type: System.Int32
The compression ratio to set.

Remarks

The JPEG 2000 compression ratio should not be less than 1.

The compression ratio equal to 1 causes lossless compression but produces biggest output. The larger compression ratio values cause smaller outputs in expense of image detail.

The compression ratio of N means "compress N times".

See Also