Hello,
when I make the conversion pdf to pdfa, I get a very large file. For a PDF file of 502Ko, I get a pdfa file of 132406 Ko if I use the pdf dll 10.9.0.0
With pdf dll 11.6.0.0, the size is “only” 24744 Ko but I can’t use this dll because of bud PDFNET-41080.
Please, do you have a solution to reduce the pdfa size?
Can you tell me when the PDFNET-41080 will be fixed?
Thanks for your inquiry. Please note fonts are embedded in PDFA file in PDF to PDFA conversion to fulfill PDFA standards and it increases the file size of resultant PDFA. You may optimize PDFA size by deleting unused symbols from embedded fonts. However if the issue persist then please share your sample source document here, we will look into it and will guide you accordingly.
Furthermore in reference to PDFNET-41080, we have recently noticed the issue and it is still pending for investigation. As soon as its analysis is completed then we can share any ETA with you.
com.aspose.pdf.Document pdfDocument = new com.aspose.pdf.Document("input.pdf");
pdfDocument.convert("Conversion_log.xml", com.aspose.pdf.PdfFormat.PDF_A_1B, com.aspose.pdf.ConvertErrorAction.Delete);
// Save updated document
pdfDocument.save("output.pdf");
// Optimize the file size by removing unused objects
com.aspose.pdf.Document.OptimizationOptions opt = new Document.OptimizationOptions();
opt.setRemoveUnusedObjects(true);
opt.setRemoveUnusedStreams(true);
opt.setLinkDuplcateStreams(true);
pdfDocument.optimizeResources(opt);
// Save the updated file
pdfDocument.save("output_pdfa_optimized.pdf");
However I have received another message about another topic but with the same PDFNET reference : 41080 : [pdfToPdfA] incorrect pdf orientation - INC000004983855.
This is the real topic for which PDFNET -41080 was open.