we are trying to use the latest release of Aspose.PDF for java (version 4.0.0) to convert a simple PDF file to a PDF/A-1b compliant PDF.
We used the following code:
com.aspose.pdf.Document pdfDocument = new com.aspose.pdf.Document(fileIn);
pdfDocument.convert(fileLog, com.aspose.pdf.PdfFormat.PDF_A_1B, com.aspose.pdf.ConvertErrorAction.Delete);
com.aspose.pdf.PdfSaveOptions so = new com.aspose.pdf.PdfSaveOptions();
However the result is always a standard PDF (no PDF/A).
We tried the new 4.1.2 release but it gave us the same result.
We also tried to convert a PDF/A-1a into PDF/A-1b but even in this case the resulting PDF is only a standard PDF.
Is the PDF to PDF/A conversion currently implemented in the java version? If not when will it be ported from the .NET version?
Is there an alternative way to accomplish this conversion?