Gets or sets the JPEG 2000 compression ratio.

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

Syntax

C#
public int Jpeg2000CompressionRatio { get; set; }
VB
Public Property Jpeg2000CompressionRatio As Integer
	Get
	Set

Property Value

Type: Int32
The compression ratio to use in JPEG 2000 encoder.

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