Class Compress_Api
- java.lang.Object
-
- com.ironsoftware.ironpdf.internal.staticapi.Compress_Api
-
public final class Compress_Api extends Object
The type Compress api.
-
-
Constructor Summary
Constructors Constructor Description Compress_Api()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
compressImages(InternalPdfDocument internalPdfDocument, int quality, boolean scaleToVisibleSize)
Compress existing images using JPG encoding and the specified settings
-
-
-
Method Detail
-
compressImages
public static void compressImages(InternalPdfDocument internalPdfDocument, int quality, boolean scaleToVisibleSize)
Compress existing images using JPG encoding and the specified settings- Parameters:
internalPdfDocument
- the internal pdf documentquality
- (1 - 100) to use during compressionscaleToVisibleSize
- Scale down the image resolution according to its visible size in the PDF document; may cause distortion with some image configurations. Default is false.
-
-