Optimize Document

<< Click to Display Table of Contents >>

Navigation:  PDF-Tools V9 User Manual > Actions Library > Optimize PDF Actions >

Optimize Document


 

optimize.pdf.large.icon Optimize Document

 


 

The Optimize Document action optimizes the size of PDF documents. It contains the following customizable parameters:

 

optimize.pdf.action.options

Figure 1. Optimize Document Action Options

 

Click All Options to view/edit all options. The Optimize PDF dialog box will open, as detailed below.

Select the Show setup dialog while running box to launch the Optimize PDF dialog box and customize settings each time this action is used. Clear this box to disable the Optimize PDF dialog box from opening each time the action is used, which is useful when the same settings are used consistently.

 

optimize.pdf.dialog.box

Figure 2. Optimize PDF Dialog Box, Images Tab

 

These settings are used to optimize PDF content:

 

Images

 

The options for optimizing images are detailed in (figure 2). They are as follows:

 

Click the Color Images, Grayscale Images, Indexed Images and Monochrome Images menus to select settings for the respective image formats.

Click the Bicubic Downsampling/Subsampling menus to increase/reduce the resolution of images.

Click the arrows in the dpi box, or enter a figure manually, to select the dots-per-inch resolution for new images.

Click the arrows in the for images above box, or enter a figure manually, to select the minimum dpi at which images are downsampled/subsampled.

Click the Compression menus to select the compression format of images. Where applicable click the Quality menu to select the compression quality.  

The Optimize images only if there is a reduction in size box is selected by default. Clear this box to optimize images even when there is no reduction in size.

 

Fonts

 

Click Fonts to determine the settings for font optimization:

 

optimize.pdf.dialog.box.fonts.options

Figure 3. Optimize PDF Dialog Box, Fonts Tab

 

Select Do Not Unembed any font to retain all embedded fonts.

Select Unembed recommended fonts to unembed recommended fonts, which will result in the unembedding of the most common fonts in order to reduce the file size.

Select Unembed all fonts to unembed all fonts. This will reduce the size of files as far as possible with regard to fonts. However, it also increases the risk of compatibility issues for subsequent users of the document. This is because they will not be able to read the document unless the application they are using to view the document contains the font. Therefore this setting should be used only in cases where documents contain only common fonts.

Select the Merge fonts subsets box to merge duplicated font subsets.

 

Discard Objects

 

Click Discard Objects to determine the settings for discarding objects:

 

optimize.pdf.dialog.box.discard.objects.options

Figure 4. Optimize PDF Dialog Box, Discard Objects Tab

 

Select the Discard all form submissions, import and reset actions box to remove these elements from the document.

Select the Discard all JavaScript actions box to remove JavaScript actions from the document.

Select the Discard all alternate images box to remove alternate images from the document. Alternate images are additional versions of existing images that may differ slightly, such as in resolution or color space.

Select the Discard embedded page thumbnails box to remove embedded page thumbnails from the document.

Select the Detect and merge image fragments box to merge image fragments. Note that some images are composed of fragmented sections that are spliced together. Merging these fragments will reduce the file size.

Select the Discard embedded print settings box to discard remnant encoding in cases where documents were created with a virtual printer.

Select the Discard bookmarks box to remove all bookmarks from the document.

 

Discard User Data

 

Click Discard User Data to determine the settings for discarding user data:

 

optimize.pdf.dialog.box.discard.user.data.options

Figure 5. Optimize PDF Dialog Box, Discard User Data Tab

 

Select the Discard all comments, forms and multimedia box to remove these elements from the document.

Select the Discard document information and metadata box to remove all metadata from the document.

Select the Discard file attachments box to remove attached/embedded files from the document.

Select the Discard private data of other applications box to remove information from the document that is useful only to the application used to create it.

Select the Discard hidden layer content and flatten visible layers box to remove hidden layers from the document and flatten the visible layers to base content.

 

Cleanup

 

Click Cleanup to determine cleanup options:

 

optimize.pdf.dialog.box.cleanup

Figure 6. Optimize PDF Dialog Box, Cleanup Tab

 

Select the Discard Duplicates of Fonts box to remove redundant fonts from the document.

Select the Discard Duplicates of Images box to remove duplicate images from the document.

Select the Discard duplicates of XForms box to remove duplicate XForms from the document.

Select the Use Flate to encode streams that are not encoded box to compress document information that is pending for compression.

Select the In Streams that use LZW encoding use Flate instead box to use Flate compression instead of LZW encoding. This is recommended as Flate is compatible with a wider range of platforms.

Select the Discard Invalid Bookmarks box to discard bookmarks that do not contain actions/valid destinations.

Select the Discard Unreferenced Named Destinations box to remove named destinations that are not referenced in the document.

Select the Find and Remove Content Outside of the Crop Box box to remove content outside the crop box. Note that this content is hidden when documents are displayed.

Select the Remove unused Layers box to remove any unused layers from documents.

 

Settings

 

Click the Settings dropdown menu to toggle between Standard Mode, which is best for computers, and Mobile Mode, which is best for tablets and cell phones:

 

optimize.pdf.action.settings.dropdown

Figure 7. Optimize PDF Dialog Box, Settings Dropdown Menu

 

The Settings dropdown menu is also used to save, manage and delete customized settings:

 

Click Save Current Settings to save custom settings for subsequent use. Saved profiles are detailed in the Settings dropdown menu.

Click Delete to delete selected profiles.

Click Manage to manage saved custom settings. The Manage Presets dialog box will open, as detailed below.

 

manage.presets.optimization

Figure 8. Manage Presets Dialog Box

 

Click Edit to edit selected profiles.

Click Clone to clone selected profiles. This makes it possible to duplicate profiles and then customize their settings whilst retaining the existing profile and its parameters.

Use the up and down arrow to move selected profiles up or down in the list.

Click Delete to delete selected profiles.

Click Import to import profiles from a saved file.

Click Export to export profiles to file.

 

Select an option in the Make Compatible With dropdown menu to make optimized documents compatible with specified versions of PDF:

 

optimize.make.compatible

Figure 9. Optimize PDF Dialog Box, Make Compatible Dropdown Menu

 

Click OK to save changes.