We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

PDF to PDF/A-1b

Hi,

We are evaluating Aspose.Pdf for the purpose of converting PDF to PDF/A1-b

We have created a small test application along the suggested lines (code below) using a temporary license: https://docs.aspose.com/pdf/net/convert-pdf-to-pdfa/

However converting the attached “in.pdf” file (attached) results in the “out.pdf” (attached) PDF file which is not PDF/A-1b compliant according to Acrobat PreFlight (screenshot attached). Log.xml is also attached - there are errors but are all marked as Convertable=“True”.
We couldn’t find extensive documentation on this feature - could you clarify whether this should work as expected ie Convert will make the corrections required and produce a compliant file?

Aspose.Pdf.License license = new Aspose.Pdf.License();
license.SetLicense(@“c:/dev/aspose/test/Aspose.Pdf.lic”);
Document pdfDocument = new Document(@“c:/dev/aspose/test/in.pdf”);
pdfDocument.Validate(@“c:/dev/aspose/test/log1.xml”, PdfFormat.PDF_A_1B);
pdfDocument.Convert(@“c:/dev/aspose/test/log1.xml”,PdfFormat.PDF_A_1B,ConvertErrorAction.Delete);
//pdfDocument.Conformance = Aspose.Pdf.Generator.PdfConformance.PdfA1B;
pdfDocument.Save( @“c:/dev/aspose/test/out.pdf”);

Hi Neil,

Thanks for your interest in our products

I tested the scenario and able to notice the same problem. For rectification, I logged this problem for investigation with ID “PDFNEWNET-33181” in our Issue Tracking System. We will further look into the details of this issue and will keep you updated via this forum thread.

We apologize for the inconvenience.

Thanks & Regards,