Summary: Nested Classes | Methods | Inherited Methods | [Expand All]
public class

# Optimizer

extends Object

java.lang.Object
↳ | com.pdftron.pdf.Optimizer

## Summary

Nested Classes
class | Optimizer.ImageSettings | A class that stores downsampling/recompression settings for color and grayscale images.
class | Optimizer.MonoImageSettings | A class that stores image downsampling/recompression settings for monochrome images.
class | Optimizer.OptimizerSettings | A class that stores settings for the optimizer
class | Optimizer.TextSettings | A class that stores text optimization settings.

Public Methods
static void | optimize(PDFDoc doc, Optimizer.OptimizerSettings optimizer_settings) Optimize the given document using the optimizers settings
static void | optimize(PDFDoc doc) Optimize the given document.

[Expand] Inherited Methods
From class java.lang.Object
boolean | equals(Object arg0)
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()

## Public Methods

#### public static void optimize (PDFDoc doc, Optimizer.OptimizerSettings optimizer_settings)

Optimize the given document using the optimizers settings

##### Parameters

doc | the document to optimize
optimizer_settings | optimizer settings

#### public static void optimize (PDFDoc doc)

Optimize the given document.

##### Parameters

doc | the document to optimize