We are experiencing very very poor performance, it actually pegs the CPU and never completes, attempting to load a PDF from a System.IO.Stream into the PdfFileInfo object.
It hangs and never completes this line of code:
PdfFileInfo fileInfo = new PdfFileInfo(docStream);
This only seems to happen on certain PDF documents that contain images, e.g. a scanned document so it only contains the images of each page. The number of pages does not seem to have anything to do with it as I’ve reproduced it using a 1 page PDF document that is an image.
f799e558-dcfa-4a6d-b9f5-82c6a29d30e0_0.pdf (4.4 MB)
Update: seems to be having the same problem trying to load it into a Aspose.Pdf.Document object.