Question
PDF compression with adobe library
We are encountering a few issues while using the @adobe/pdfservices-node-sdk for PDF compression.
While the service functions correctly with random sample files, we are facing the following challenges with dataflow reports:
- Edit-Protected Files: We are unable to compress edit-protected PDFs. Even after providing the correct password to unlock the document, the service fails to provide a compressed file.
- Polling Timeouts: In these instances, the system does not return an error message. Instead, the request times out during the polling process for the compressed PDF, even after a significant wait.
- File Size: This issue persists with larger files as well which are not even protected, above 8MB.