
**Inheritance:**
java.lang.Object, java.lang.Enum
```
public enum PdfOptimizationMode extends Enum<PdfOptimizationMode>
```

Significantly reduce the PDF file size at the expense of lower image quality.

Specify the balance between file size and image quality of saved PDFs.
## Fields

| Field | Description |
| --- | --- |
| [AGGRESSIVE](#AGGRESSIVE) | Significantly reduce the PDF file size at the expense of lower image quality. |
| [BALANCED](#BALANCED) | Downsample images to balance file size and image quality. |
| [HIGH_QUALITY](#HIGH-QUALITY) | Smaller PDF file size at the expense of slight image downsampling. |
| [MAXIMUM_QUALITY](#MAXIMUM-QUALITY) | Optimize file size while preserving the highest image quality. |
| [NONE](#NONE) | Do not optimize PDF size. |

### AGGRESSIVE {#AGGRESSIVE}
```
public static final PdfOptimizationMode AGGRESSIVE
```


Significantly reduce the PDF file size at the expense of lower image quality.

### BALANCED {#BALANCED}
```
public static final PdfOptimizationMode BALANCED
```


Downsample images to balance file size and image quality.

### HIGH_QUALITY {#HIGH-QUALITY}
```
public static final PdfOptimizationMode HIGH_QUALITY
```


Smaller PDF file size at the expense of slight image downsampling.

### MAXIMUM_QUALITY {#MAXIMUM-QUALITY}
```
public static final PdfOptimizationMode MAXIMUM_QUALITY
```


Optimize file size while preserving the highest image quality.

### NONE {#NONE}
```
public static final PdfOptimizationMode NONE
```


Do not optimize PDF size.
