We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Files get corrupted after loading and saving with Aspose.PDF(C#)

We have some files that are getting corrupted when handled by Aspose.Pdf.Document.
The files are corrupted by just opening and saving them back.

        Aspose.Pdf.Document pdfDoc = new Aspose.Pdf.Document(@"C:\temp\inv-227.pdf");
        pdfDoc.Save(@"C:\temp\inv-227.pdf");

@tliu,

Can you please share source file so that we may further investigate to help you out.

Here is one of the files.

@tliu,

Please accept my request and grant me access to this file so that i may help you out.

@Adnan.Ahmad,

Your request has been accepted. Please try again. Thanks!

@tliu,

We have tested the scenario in our environment and were able to notice the issue. We have logged it as PDFNET-47530 in our issue tracking system. We will further look into details of the issue and keep you posted with the status of its correction. Please be patient and spare us little time.

We are sorry for the inconvenience.