SetMetadata + PDFConformance PDF/A-3a
Posted: Tue Jun 25, 2019 9:06 pm
Hi,
I have a PDF, but I need to do 3 things with this existing PDF.
1. Embedd an existing file in the PDF.
2. Add specific metadata to the PDF (I use actually SetMetadata() )
3. Save the document as PDF/A-3a
Adding the xml is no problem.
BUT:
I can add metadata to the PDF using SetMetata() and save the PDF. Now I need to convert this PDF to PDF/A-3a. Converting this PDF to PDF/A-3a, I will loose my metadata in the result PDF file.
If I do it the other way around, first create the PDF/A-3a and after that add the metadata, I will loose the PDF/A-3a conformance in the result file.
What I am doing wrong and what would be the way to get this done?
Thank you and kind regards, Marco
I have a PDF, but I need to do 3 things with this existing PDF.
1. Embedd an existing file in the PDF.
2. Add specific metadata to the PDF (I use actually SetMetadata() )
3. Save the document as PDF/A-3a
Adding the xml is no problem.
BUT:
I can add metadata to the PDF using SetMetata() and save the PDF. Now I need to convert this PDF to PDF/A-3a. Converting this PDF to PDF/A-3a, I will loose my metadata in the result PDF file.
If I do it the other way around, first create the PDF/A-3a and after that add the metadata, I will loose the PDF/A-3a conformance in the result file.
What I am doing wrong and what would be the way to get this done?
Thank you and kind regards, Marco