Hi,
After upgrading Aspose PDF .NET to version 19.5, I have a big problem when loading some broken PDF files. In the previous version before I upgrading (Aspose PDF .NET 17.2), the broken file can be loaded under 5 seconds and throw exception, but with new version, it took more than 1 minute to load and throw exception. I tried with lastest version (19.8) but can’t resolve the issue.
Here is my sample code:
try
{
string input = @"D:\sample_file.pdf";
Document pdfDocument = new Document(inputFile);
}
catch(Exception e)
{
Console.WriteLine(e.Message);
}
Here is my sample: sample_file.zip (3.8 MB)
Please check this issue.
Thank you.