I am trying to convert a PDF and I am seeing all links removed. Why is that? I am adding a link to this post with the original file, the resulting file, and the log.xml from the process.
https://drive.google.com/drive/folders/14gAwmcc7St1LNL9TRHyhV564Bx9r2ym8?usp=sharing
Here is the code:
final Document pdfDocument = new Document("/home/marcelo/Downloads/attachments.pdf");
Files.deleteIfExists(new File("/home/marcelo/Downloads/PDFToPDFA_out.pdf").toPath());
pdfDocument.convert("/home/marcelo/Downloads/log.xml", PdfFormat.PDF_A_3B, ConvertErrorAction.Delete);
pdfDocument.save("/home/marcelo/Downloads/PDFToPDFA_out.pdf");
I am using the java version:
com.aspose
aspose-pdf
20.5.1
jdk16