Optimize PDF File
  • 03 Aug 2023
  • 1 Minute to read
  • Dark
    Light

Optimize PDF File

  • Dark
    Light

Article Summary

Step Details
Introduced in Version8.11
Last Modified in Version--
LocationData > PDF

The Optimize PDF File step compresses the PDF and reduces the overall file size. It helps to reduce the amount of storage space that the PDF file takes up on the server. Additionally, it also helps to reduce the time to import and export projects. 


Properties

Settings

PropertyDescription
File InputsFileDataFile Data is the Data Type used for file handling and is stored as a Byte Array within a Flow. For more information, refer to File Type Overview.
FileReferenceFile References provide a way to access a file through a Flow or process without processing the file in memory. For more information, refer to File References.

Advanced

Property DescriptionDefault Value
Compress Image > Image QualityAllows to lower the image quality within the PDF. (Value in percentage)50
Resize Image > Max ResolutionAllows to reduce the DPI of the images within the PDF300
Image Compression Version
  • Standard - Standard PDF compression balances file size and quality and may take longer to compress than fast compression. However, it can produce a higher-quality output while reducing the file size.
  • Fast - The fast version of PDF compression prioritizes speed over maximum compression, using faster and simpler algorithms that may result in some loss of image quality for faster processing.
  • Mixed - This version of the PDF compression algorithm uses a combination of both standard and fast compression techniques.
Standard
Link Duplicate StreamsDuplicate content streams found within the PDF document will be consolidated into a single, shared stream.Enabled
Allow Reuse Page ContentDuplicate objects and resources can be eliminated or consolidated, which can significantly reduce the file size of the PDF document.Enabled
Unembed FontsThe unembed fonts method removes all embedded fonts. This decreases the document size, but the document may become unreadable if the correct font is not installed.Enabled

Inputs

PropertyDescriptionData Type
PDF Document
PDF file to compress.FileData
FileReference

Outputs

PropertyDescriptionData Type
Compressed PDF DocumentNew PDF that has been compressed.FileData
FileReference


Related Information

File Type Overview


Was this article helpful?