Hi,
I'm having performance issues when trying to convert PDF to PDF with watermark (PDF with 4 pages takes something like 15 min)
I upgraded the Aspose.PDF .Net from version 5.2.1.0 to version 8.3.0.0
I'm not using a memory stream, I'm using a custom stream, and I noticed that the Read calls thousand times when using BindPDF and something like one hundred thousand times when using "pdfFileSecurity.SetPrivilege" or using "PdfFileInfo" with the stream.
I checked the old Aspose version and I saw that the Read function of the Stream called just a few times.
Can you please help me with this issue?
Here is two examples of how we use it in c#:
(1)
Aspose.Pdf.Facades.PdfConverter converter = new Aspose.Pdf.Facades.PdfConverter();
converter.BindPdf(MyStream);
(2)
PdfFileSecurity pdfFileSecurity = new PdfFileSecurity(myStream, outputMemoryStream);
pdfFileSecurity.SetPrivilege(DocumentPrivilege.AllowAll);
Thanks,
Moshik