PixMap CompressJpx Function. Compresses the image using JPEG 2000 compression. ABCpdf .NET PDF Library.

ABCpdf .net

 
   

Compresses the image using JPEG 2000 compression.

 

   
Syntax  

[C#]
void CompressJpx(int quality)

[Visual Basic]
Sub CompressJpx(quality As Integer)

Throws Exceptions may throw Exception()

 

   

Params
 
Name Description
quality The quality of compression to use (0 to 100).

 

   

Notes
 

Compresses the image using JPEG 2000 compression.

JPEG 2000 compression can be used on RGB, Grayscale or CMYK images. It offers high compression levels for continuous tone images like photographs. However it is a lossy method which means that the quality of the compressed image will not be as good as the uncompressed image.

The quality of the compression can range from zero (lowest quality, highest compression) to 100 (lossless quality, lowest compression). A good generic value is 75.

 

   

Example
 

None.