Aspose.PDF .Net 10.5.0.0 fails to convert the attached PDF to PDF/a. It works with 10.4.0.0 and also with other documents.
The PDF was generated by Microsoft OneNote from a mail.
The Aspose error message is:
ExtGState 'ca' value shall be 1.0
Aspose.PDF .Net 10.5.0.0 fails to convert the attached PDF to PDF/a. It works with 10.4.0.0 and also with other documents.
The PDF was generated by Microsoft OneNote from a mail.
The Aspose error message is:
ExtGState 'ca' value shall be 1.0
Hi there,
Document pdf = new
Document(myDir + “ErrorConvertToPDFa.pdf”);<o:p></o:p>
pdf.Convert(myDir+"log.xml", PdfFormat.PDF_A_1B, ConvertErrorAction.Delete);
pdf.Save(myDir + "PDFA1bout.pdf");
Best Regards,
Hi there,
Document pdf = new
Document(myDir + “ErrorConvertToPDFa.pdf”);<o:p></o:p>
pdf.Convert(myDir + "log.xml", PdfFormat.PDF_A_2B, ConvertErrorAction.Delete);
pdf.Save(myDir + "PDFA2bout.pdf");
pdf = new Document(myDir + "PDFA2bout.pdf");
Console.WriteLine(pdf.Validate(myDir+"validate.xml", Aspose.Pdf.PdfFormat.PDF_A_2B));
Please feel free to contact us for any further assistance.
Best Regards,
Hi Oliver,
The issues you have found earlier (filed as PDFNEWNET-39003) have been fixed in Aspose.Pdf for .NET 10.7.0.