PdfImage.RecompressWithJpeg2000 Method

Recompresses image data using JPEG 2000 format.

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

Syntax

C#
public void RecompressWithJpeg2000()
VB
Public Sub RecompressWithJpeg2000

Remarks

This method performs lossless recompression.

This method throws UnsupportedImageException when used on an inline image. You can check IsInline property before invoking this method.

For a mask image, this method emits a warning in logs and does nothing. A mask image is an image with IsMask equal to true.

See Also