3-Heights™ PDF Optimizer - compress your PDF and reduce the file size

The 3-Heights™ PDF Optimizer optimizes PDF files to enable their use as high resolution files for printing or, with less resolution, for electronic document exchange or space-saving document archiving. 

Compress

Resize your files according to your requirements

Optimize

Define color scheme and fonts for printing

Reduce

Scale document information down to necessary data

Advanced PDF document optimization & PDF compression features

PDF optimizer - features

Easy configurability through optimization profiles:

  • Web profile
    • Remove redundant and unnecessary data for electronic document exchange
    • Down-sample, clip, and intelligently compress images
    • Merge and subset fonts
    • Linearize the output
    • Convert colors to RGB
  • Archive profile
    • Remove redundant and unnecessary data for archiving
    • Intelligently compress images
    • Merge and subset fonts
  • Print profile
    • Remove redundant and unnecessary data for printing
    • Down-sample, clip, and intelligently compress images
    • Merge and subset fonts
    • Convert colors to CMYK

Features and fine grained configuration for optimizing images

  • Separately configurable compression of bi-tonal, indexed and continuous (i.e. color and gray-scale) images
  • Define threshold in dots per inch (DPI) for triggering image down-sampling
  • Define target image resolution in DPI for image down-sampling
  • Automatically select best compression type for each image
  • Configure enforcement of configured compression types
  • Color conversion to CMYK, RGB, or GrayScale
  • Remove invisible parts of images
  • Reduce the number of color channels used for images, image masks and soft masks if applicable
  • Convert soft masks to image masks if applicable
  • Perform mixed raster content (MRC) optimization for images
  • Choose color management engine
  • Remove images entirely and substitute by empty XObjects

Features and fine grained configuration for optimizing fonts

  • Subset font programs to contain only the used glyphs
  • Merge compatible font programs and fonts
  • Compress Type1 fonts (convert to CFF)
  • Remove font programs

Features for optimizing page content 

  • Remove unused resources
  • Automatic page content optimization
  • Flatten or remove page annotations and form fields

Fine grained configuration for removal of:

  • Redundant objects
  • Embedded standard fonts (e.g. Courier, Arial, Times)
  • Embedded, non-symbolic fonts
  • Unnecessary file information
  • Article threads
  • Alternative images
  • Metadata
  • Page piece information
  • Output intent
  • Document structure tree including markup
  • Miniature page preview images (Thumbnails)
  • Spider (web capture) information

Features and configuration on file level

  • Read encrypted input files
  • Encrypt and set access authorization for the output file
  • Process memory-resident files
  • Automatic removal of obsolete objects stemming from previous changes to the file
  • Set minimum PDF version of the output file
  • Linearize output file for fast web view

Listing and parameter extraction features

  • List fonts and their properties
  • List and extract images and their properties
  • Extract number of pages
  • Error code

Conformance

  • ISO 32000-1 (PDF 1.7)
  • ISO 32000-2 (PDF 2.0)

Supported formats

Input formats

  • PDF 1.0 to 1.7
  • PDF 2.0

Output formats

  • PDF 1.0 to 1.7
  • PDF 2.0

Areas of use - customized PDF compression

Web & Mail

Web-based applications demand short response times. Potential customers lose interest when online publications and documents are slow to load. Same as poorly compressed PDF documents make emails unnecessarily large and can slow down communications or prevent the exchange of documents by email altogether. Small and linearized PDF documents reduce response times significantly and improve the outgoing mail processes significantly.

Pre-press stage

The priorities in the pre-press stage focus on correct reproduction and color quantity reduction during printing. Hence, all colors can be converted to CMYK for instance.

Other areas of use

  • Web publishing platform
  • As an optimization step after assembling documents from a heterogeneous source
  • Conversion of colors to standardize corporate color space standards

Archive

Archiving requirements can vary. For instance, alternative images may be required in one case but not in another. Redundant or unnecessary data should not be archived in either scenario. The 3‑Heights™ PDF Optimizer component offers selective optimization options to enable precisely these kinds of configuration variations.

Checklist how to optimize PDF documents

  • Identify target application area
    for example:
    • Web (small size, short download, fast display)
    • Printing (correct fonts, right color scheme, suitable resolution)
    • Archiving (embedded fonts, color profiles, metadata)
    • Scanned documents (lossless image compression for ocr enginge)
    • Special requirements

  • Apply adequate optimization settings
    for example:
  • Color space
  • Resolution
  • Fonts
  • Color/monochrome compression
  • Bi-tonal compression
  • Redundant objects
  • Article thread
  • Form field
  • Alternate images
  • Meta data
  • Page piece info
  • Document structure tree
  • Thumbnails
  • Spider

#Sample - Optimize a PDF document for the web

All documents related to the web should be kept small in file size. As a consequence they take less storage on the web-server and can be transferred quicker, resulting in shorter download times. In order to reduce the file size as much as possible, all information that is not required for displaying the document without a visual loss can be removed.

How to optimize a PDF document for the web

In this sample, we use the pre-defined "web" optimization profile, which configures the optimizer optimally for this purpose. In order to reduce the file size even more, we adjust the color threshold DPI and color resolution DPI such that all color images with a resolution higher than 150 DPI are downsampled to 96 DPI.

In general:

  1. Configure the PDF Optimizer using the pre-defined "web" optimization profile (see manual for detailed description).
  2. Adjust specific settings that you want to configure different to the profile.

In the manual you can find a detailed description of all the settings and optimization profiles.

using System;
using Pdftools.Pdf;
using Pdftools.PdfOptimize;

namespace PdfOptimizerSamples
{
    class OptimizeForWebSample
    {
        /// <summary>
        /// Optimizes a given PDF document for the web and saves the result to a new file
        /// </summary>
        /// <param name="inFilePath">Path to input PDF document</param>
        /// <param name="outFilePath">Path to resulting PDF document</param>
        public static void OptimizeForWeb(string inFilePath, string outFilePath)
        {
            // 1. Create new PDF optimizer
            using (Optimizer opt = new Optimizer())
            {
                // 2. Open input document
                if (!opt.Open(inFilePath, String.Empty))
                {
                    Console.WriteLine("Unable to open input file (" + opt.ErrorCode + ")");
                    return;
                }

                // 3. Configure the optimizer for web viewing

                // Using the web profile configures the optimizer with the optimal settings for web viewing
                opt.Profile = PDFOptimizationProfile.eOptimizationProfileWeb;

                // Adjust individual values. 
                // The web profile e.g. compresses all color images with a resolution higher than 210 DPI to 150 DPI.
                // For a higher compression, this example overrides the profile settings as follows:
                opt.ColorThresholdDPI = 150;
                opt.ColorResolutionDPI = 96;

                // 4. Optimize document according to optimizer settings and save as new document
                if (!opt.SaveAs(outFilePath, String.Empty, String.Empty, PDFPermission.ePermNoEncryption))
                {
                    Console.WriteLine("Error while optimizing (" + opt.ErrorCode + ")");
                    return;
                }

                // 5. Close the currently open input files
                opt.Close();
            }
        }
    }
}
pdfoptimize -pr web -dct 150 -dcr 96 in.pdf out.pdf
# -pr web: use web optimization profile as a starting point
# -dct 150: set threshold for color images to 150 DPI
# -dcr 96: color images higher than the above threshold will be resampled to 96 DPI

What you get with 3-Heights™ PDF Optimizer

  • Numerous features for customized optimization
  • Predefined optimization profiles for different applications
  • Efficient compression, thanks to powerful algorithms and methods
  • Designed for individual processing and mass processing
  • Powerful component with high stability, quality and scalability

☎ +41 43 411 44 51   ✉ pdfsales(at)pdf-tools.com

Quality assurance
Clean, lean and conform PDF documents without loss of quality and information.

Storage space
Relevant saving of storage space in the corresponding application area - especially for long-term digital archive storage.

Time
Efficient processing through the 3-Heights™ architecture. Fast document display, short download times and optimal searchability thanks to elimination of redundant data and application-oriented PDF optimization.

Automate compression of PDF documents in professional digital printing software

Processes have become faster and more reliable, and also enabled inbro to leverage their investment in cloud computing to be able to scale their business cheaply and effectively. Due to the implementation of PDF Optimization the permanent infrastructure could even be reduced by one managed machine.

“Proofs to Perfection” with the 3-Heights™ PDF Optimizer and Command Line Suite

File processing and file transmission without a loss in quality have been substantially improved through integration of the PDF Tools products in the document management workflow.

PDF Expert blog - PDF document's color space - rich black vs true black

Replacing rich black by true black in PDF documents

When it comes to printing then all colors in a PDF document are transformed to the native color space of the printing device. If, e.g. a text uses a black RGB color then it is transformed to an equivalent CMYK value which contains contributions from all four color channels...


PDF Expert Blog - embedded fonts and PDF mass printing application

The problem with embedded fonts in PDF mass printing applications

PDF is more and more finding its way into mass printing applications. However, PDF spool files often ask too much from a print engine resulting in aborts or, even worse, incomplete prints which may not be noticed. What is special about PDF mass printing...


Special - Optimization

Optimization - reduce your files to the max

Archival processes therefore need to be kept under control, with a focus on optimization. And one area that can be improved is data optimization itself.

Get more information about the benefits of document optimization and compression.