Support Article
Generated PDF documents are too large
SA-14131
Summary
When generating PDFs, the files generated are much larger than expected. No compression is applied to the PDF files.
Error Messages
Not Applicable.
Steps to Reproduce
Generate a PDF using the Pega supplied activities.
Root Cause
The iText libraries are shipped with Pega and may be used to accomplish PDF compression goals. The PDFStream class in the iText library shipped with Pega (version 2.1.7) has methods to compress PDF files.
Resolution
Use the iText library available with Pega (version 2.1.7) to accomplish your goal in the short-term.
An enhance request has been introduced to the Pega product team to achieve the same.
Published September 23, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.