Subject: Corrupted PDF Using Aspose.PDF for .NET Version 24.5.1 with Repair() Method

Dear Sir or Madam,

We receive a corrupted PDF when making the following request.

using (var fs = new FileStream(srcFilePath, FileMode.Open, FileAccess.ReadWrite))
{
var document = new Aspose.Pdf.Document(fs);
document.Repair();
document.Save(dstFilePath);
}

The issue started occurring with version 23.10.0; everything was working fine up until version 23.9.0.
We are using Aspose.PDF for .NET, version 24.5.1.

You can find the original file and the resulting file in the attachments.

Best regards,

Wolfram Syperek

Berufsgenossenschaft Holz und Metall
Seligmannallee 4
30173 Hannover

after_repair.PDF (26.4 KB)

before_repair.PDF (229.5 KB)

@wolfram.syperek

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-57422

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.