Fail to convert PDF document into PDF/A-2a document

Hi Support,


We are facing an issue to convert a PDF document into PDF/A-2a document. We are using both Java and .NET library of the Aspose PDF.

com.aspose.pdf.License license1 = new com.aspose.pdf.License();
license1.setLicense(“D:/Aspose.Total.Java.lic”);
com.aspose.pdf.Document obj_doc = new com.aspose.pdf.Document(new java.io.ByteArrayInputStream(Util.readFile(“D:/sample.pdf”)));
ByteArrayOutputStream bs = new ByteArrayOutputStream();
obj_doc.convert(“temp.xml”, com.aspose.pdf.PdfFormat.PDF_A_2A, ConvertErrorAction.Delete);
obj_doc.save(bs);

We have successfully converted the PDF document into 1a,1b,2b and 3b formats and verified by the Acrobat Preflight. In the case of PDF/A-2a, PDF document is converted into PDF/A-2a document but Acrobat preflight can’t verify its compliancy. Can you please check what’s the issue is?

The input PDF document (sample.pdf) and converted PDF/A-2a (sample_2a.pdf) documents are attached for your reference.

Hi Wahaj,


Thanks for your inquiry. I have tested your scenario with latest versions of Aspose.Pdf for Java 10.1.0 and .NET 10.2.0 and unable to notice the problem. I have tested compliance with adobe preflight (Adobe Acrobat Pro XI). Please download and try latest versions of Aspose.Pdf for Java and .NET, it will resolve the issue.

Best Regards,