Hallo,
we have some strange Problems when converting PDF to PDF/A. We are using Aspose-PDF 22.1 (Java) but the same problem is also in Aspose-PDF 21.9 (Java).
The code we use to convert (especially for reduced file-size):
PdfFormatConversionOptions options = new PdfFormatConversionOptions(outputLogStream, PdfFormat.PDF_A_2A, ConvertErrorAction.Delete);
options.setOptimizeFileSize(false);
options.setTransparencyAction(ConvertTransparencyAction.Default);
options.setConvertSoftMaskAction(ConvertSoftMaskAction.ConvertToStencilMask);
doc.convert(options);
doc.optimize();
options.setOptimizeFileSize(true);
doc.convert(options);
doc.save(pdfOutPut);
So, what’s the problem? Find attached: the original PDF, the converted to PDFA2A and one converted to PDFX1A. Please compare the original and the pdfa2a on pages 2,4,5 etc. You will see some strange overlays of text.
And now compare the original with the pdfx1a. The text-parts are now ok, but: Compare page 6, and you will see, that some pictures are discarded.
We have found the same behaviour in other PDF in our production-system, but I can not share this, because that are booking-informations. I can only send three partial-screenshots (please find attached).
So, my question is: Did we do something wrong, or what should we do to get reliable PDFA (looking same than original PDF)
Thank you and kind regards, Gerd
Buchungsprotokoll-original.jpg (33.9 KB)
Buchungsprotokoll-pdfa2a.jpg (31.9 KB)
Buchungsprotokoll-pdfx1a.jpg (29.2 KB)
1014008_0100020000000025_OvercomingObjections_V8.pdf (2.6 MB)
1014008_0100020000000025_OvercomingObjections_V8.pdfa2a.pdf (3.0 MB)
1014008_0100020000000025_OvercomingObjections_V8.pdfx1a_opt.pdf (3.5 MB)