Optimize Node

The Optimize node can  compress images or remove objects in order to reduce the PDF file size.

 

General Settings

Image Processing

PAS can process images contained within the document using a variety of settings:

Image Compression

Convert any image to either a JPEG, JPEG2000, FLATE, or JBIG2.

  • JPEG - lossy compression that will reduce image quality and size
  • JPEG2000 - less lossy compression that will reduce size and some quality
  • FLATE - Lossless compression does not reduce quality but may not always reduce file size
  • JBIG2 - Lossless compression that can only support black and white color space. Color images will be converted to black and white. Best for scanned documents with no images

Note: - Anytime a change is made to "Color Space" or "DPI" the image will have to be re-compressed. When the "No Change" option is selected, PDF Studio will attempt to keep the current image compression format. If it is not supported, PDF Studio will re-compress to the closest matching supported compression.

Image Quality

Allows the image quality to be adjusted between 10-100%.

  • This will only affect JPEG or JPEG2000 images as these are the only formats that support image quality settings.

Image Color Space

Choose to either retain or convert the image colors to Grayscale or B&W.

  • Grayscale - Only supported with JPEG, JPEG2000, or FLATE. Best for full color images
  • B&W - Only supported by FLATE or JBIG2. Best for scanned documents with no images

Note: When the "No Change" option is selected, PDF Studio will attempt to keep the current image color space. If it is not supported, PDF Studio will re-compress to the closest matching supported color space. When the retain option is selected JPEG images with CMYK color space will be converted to RGB due to a regression bug in Java.

DPI (Dots per Inch) Resolution

Adjust the image resolution of all images that are larger than the option selected

  • Preset options include retain, 50, 100, 150, 200, 300, & 600 DPI
  • Custom option allows user to set any value between 50-1200 DPI

 

Advanced Settings

Object Removal

PDF Studio can remove the following objects from within a PDF:

Alternate Images

Removes alternate embedded image dictionaries that are used for high resolution printing to reduce file size. Only visible images displayed on the PDF while viewing will be kept in the document.

Bookmarks

Removes all bookmarks from the PDF document

Document Info

Removes any document information located in the document properties that would include the following:

  • Title
  • Author
  • Subject
  • Keywords
  • Producer

JavaScript Actions

This will remove all JavaScript actions from the PDF document but retain any objects that may have had JavaScript actions such as form fields, push buttons, etc...

Embedded Thumbnails

Removes page thumbnails that are stored in the PDF document. Once removed the page thumbnails will just be rendered each time the document is loaded.

Unused Resources

Removes resources that are located within the document but are never referenced by any objects in the PDF document.

Comments

Removes all annotations and comments from the PDF document

Links

Removes all links from the PDF document

Attachments

Removes any attachments that are stored within the document

Form Fields

Removes all form fields that are on the PDF document

Advanced Metadata

Removes all additional or extra Metadata from the PDF Document

  

Other Options

PDF Studio has the following additional options available to further compress the PDF document:

Flatten All  Comments

Flattens all annotations including text boxes, shapes, highlights, and stamps directly onto the document so that they can no longer be edited.

  • Annotations such as the sticky note will have comments removed but the image will still be placed on the document

Note: The following annotations (file attachment annotations, links, sounds, and redaction annotations) will NOT be removed when flattening annotations. Even though technically file attachment annotations, links, sounds, and redaction annotations are annotations, they contain actions that would also be removed if the annotation was flattened and so they remain to not interfere with the functions placed in the PDF.

Flatten All Fields

Flattens all fields including text boxes, check boxes, radio buttons, combo boxes, list boxes, buttons, and signature fields directly onto the document so that they can no longer be edited. All values within the fields will be flattened as well

Flatten All Layers

Merges all of the currently visible layers onto the main page content.

Merge Duplicate Images

Merges any duplicate images within the PDF so that all objects are referencing the same image resource rather then multiple of the same resource

Merge Duplicate Fonts

Merges any duplicate fonts within the PDF so that all objects are referencing the same font resource rather then multiple of the same resource

Compress Streams

Compresses any additional PDF elements within the document such as page descriptions that have not been optimized by any other process to further reduce file size

Compress Document Objects

This option will compress any other document objects that can be compressed into object streams. An object stream contains a sequence of PDF objects. The purpose of object streams is to allow a greater number of PDF objects to be compressed, thereby substantially reducing the size of PDF files. The objects in the stream are referred to as compressed objects.

Clear Signatures

Removes all signatures that are on the PDF Document but will leave the signature field

Fast Web View

Convert to Fast Web View

When checked, converts the document to Fast Web View.

Converting to fast web view allows large documents to load faster when downloading from a web. Having the document structure and content in a linearized (from beginning to end) order allows a browser to immediately display the first page as the remainder of the document is still being loaded.


 


Qoppa Software's PDF Automation Server for Windows, Linux, Unix, and macOS

Automate PDF Document Workflows through RESTful Web Services & Folder Watching

Copyright © 2002-Present Qoppa Software. All rights reserved.