rajivrp:- Will there be any known impact on PDFA compliance ?- And how is it different from com.aspose.pdf.Document.optimize() API which also aims at compressing the output and reducing its size ?
rajivrp:- Do you have more technical details on what exactly it does internally in order to reduce the file-size ?
pdfDoc = new Aspose.Pdf.Document(myDir + “Test.pdf”);<o:p></o:p>
PdfFormatConversionOptions opts = new PdfFormatConversionOptions(myDir + "sample.txt", PdfFormat.PDF_A_1B, ConvertErrorAction.Delete);
opts.OptimizeFileSize = true;
pdfDoc.Save(myDir + "Test_PDF_A_1b.pdf");
Please feel free to contact us for any further assistance.