Optimize PDF File
- 02 Jan 2025
- 1 Minute to read
- Print
- DarkLight
Optimize PDF File
- Updated on 02 Jan 2025
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Step Details | |
Introduced in Version | 8.11 |
Last Modified in Version | 9.6 |
Location | Data > 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
Property | Description | |
---|---|---|
File Inputs | FileData | File 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. |
FileReference | File 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. Using FileReference can sometimes lead to larger file sizes than expected. |
Advanced
Property | Description | Default Value |
---|---|---|
Compress Image > Image Quality | Allows to lower the image quality within the PDF. (Value in percentage) | 50 |
Resize Image > Max Resolution | Allows to reduce the DPI of the images within the PDF | 300 |
Image Compression Version |
| Standard |
Link Duplicate Streams | Duplicate content streams found within the PDF document will be consolidated into a single, shared stream. | Enabled |
Allow Reuse Page Content | Duplicate objects and resources can be eliminated or consolidated, which can significantly reduce the file size of the PDF document. | Enabled |
Unembed Fonts | The 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 |
Return Original File on Error (v9.6+) | If an error occurs during the optimization process, this setting can allow the file to be recovered and reused. Often useful for PDFs that are corrupted. | Disabled |
Inputs
Property | Description | Data Type |
---|---|---|
PDF Document | PDF file to compress. | FileData FileReference |
Outputs
Property | Description | Data Type |
---|---|---|
Compressed PDF Document | New PDF that has been compressed. | FileData FileReference |
Step Changes
Description | Version | Release Date | Developer Task |
---|---|---|---|
Added the "Return Original File on Error" setting. | 9.6 | January 2025 | [DT-043183] |
Related Information
Was this article helpful?