Hi,
Please try this: use CompressParameters.NO_COMPRESSION as second
parameter. For the first parameter, use
IOUtils.createMemoryOnlyStreamCache()
Tilman
On 06.06.2024 13:58, Suryavanshi, Sajal wrote:
Need help with below issue:
PDFBox :- version 3.0.2
Input PDFs :- version 1.5
When using method PDFMergerUtility.mergeDocuments for merging input pdfs , it
creates output PDFs having version 1.6
Tried other method PDFMergerUtility.appendDocument and set version of
destination PDF document to 1.5 using method PDDocument.setVersion , still the
output PDF is version 1.6
When checked version with method PDDocument.getVersion , it shows correct
version 1.5 but the PDF version under the document properties still shows
version 1.6, that is why all the other tools are considering the version as 1.6
Thanks in advance.
Thanks,
Sajal
The information contained in this message is proprietary and/or confidential.
If you are not the intended recipient, please: (i) delete the message and all
copies; (ii) do not disclose, distribute or use the message in any manner; and
(iii) notify the sender immediately. In addition, please be aware that any
message addressed to our domain is subject to archiving and review by persons
other than the intended recipient. Thank you. Message Encrypted via TLS
connection
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org