Show / Hide Table of Contents

Class Optimizer

            <p>The Optimizer class provides functionality for optimizing/shrinking

output PDF files.

'pdftron.PDF.Optimizer' is an optional PDFNet Add-On utility class that can be used to optimize PDF documents by reducing the file size, removing redundant information, and compressing data streams using the latest in image compression technology. PDF Optimizer can compress and shrink PDF file size with the following operations:

  • Remove duplicated fonts, images, ICC profiles, and any other data stream.
  • Optionally convert high-quality or print-ready PDF files to small, efficient and web-ready PDF.
  • Optionally down-sample large images to a given resolution.
  • Optionally compress or recompress PDF images using JBIG2 and JPEG2000 compression formats.
  • Compress uncompressed streams and remove unused PDF objects.
Inheritance
object
Optimizer
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: pdftron.PDF
Assembly: PDFNet.dll
Syntax
public class Optimizer
Remarks

'Optimizer' is available as a separately licensable add-on to PDFNet core license.

Methods

Optimize(PDFDoc)

Declaration
public static void Optimize(PDFDoc doc)
Parameters
Type Name Description
PDFDoc doc

Optimize(PDFDoc, OptimizerSettings)

Declaration
public static void Optimize(PDFDoc doc, Optimizer.OptimizerSettings opt_settings)
Parameters
Type Name Description
PDFDoc doc
Optimizer.OptimizerSettings opt_settings
In This Article
Back to top Generated by DocFX