Recompresses image data using JPEG 2000 format and specified compression ratio.

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

Syntax

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

Parameters

compressionRatio
Type: System.Int32
The compression ratio to use while compressing.

Remarks

The compression ratio should be not 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