PDF File Size Too Large
We are having issues with generated PDFs being too large.
The PDF form itself is only kilobytes in size. We believe that with the additional data added from the user, the form (with the added information) should not add up to megabytes of data.
After exploring the Pega Support Community, we came across a potential solution of using the parameter “Perform Field Flattening” in a ConcatenateEForms activity to condense our PDFs. When we set that parameter to run true, the PDFs were indeed smaller, but the size change seemed rather small. For example, when the parameter is set to false, the size was 16,014kb. With the parameter set to true, the file size was 15,761kb. As you can see, the file size was indeed smaller, but still quite large in general.
Are there any other ways to decrease the file size of the generated PDF?
***Edited by Moderator Marissa to update SR Details; platform capability tags***
Keep up to date on this post and subscribe to comments
- Rest Response attachment stream for large files of size 500 MB gives java heap space error, can we choose the location to write file instead of stream to a property in response, similar to OOTB CMIS GetContentStream
- while using connect-direct to write pdf file content size > 1MB then the file is getting corrupted and unable to open the file
- Pdf file size reduce in pega
- Calendar popup appears very large in size when used in IAC
- Large Size Attachments