You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This attached PDF throws UglyToad.PdfPig.Core.PdfDocumentFormatException exception. PdfDocument can't open this PDF.
Code:
using PdfDocument document = PdfDocument.Open(bytes, new ParsingOptions
{
SkipMissingFonts = true,
UseLenientParsing = true
});
Details:
This exception was originally thrown at this call stack:
UglyToad.PdfPig.Parser.FileStructure.CrossReferenceParser.Parse(UglyToad.PdfPig.Core.IInputBytes, bool, long, long, UglyToad.PdfPig.Tokenization.Scanner.IPdfTokenScanner, UglyToad.PdfPig.Tokenization.Scanner.ISeekableTokenScanner)
UglyToad.PdfPig.Parser.PdfDocumentFactory.OpenDocument(UglyToad.PdfPig.Core.IInputBytes, UglyToad.PdfPig.Tokenization.Scanner.ISeekableTokenScanner, UglyToad.PdfPig.ParsingOptions)
UglyToad.PdfPig.Parser.PdfDocumentFactory.Open(UglyToad.PdfPig.Core.IInputBytes, UglyToad.PdfPig.ParsingOptions)
UglyToad.PdfPig.Parser.PdfDocumentFactory.Open(byte[], UglyToad.PdfPig.ParsingOptions)
UglyToad.PdfPig.PdfDocument.Open(byte[], UglyToad.PdfPig.ParsingOptions)
Hello,
This attached PDF throws
UglyToad.PdfPig.Core.PdfDocumentFormatException
exception. PdfDocument can't open this PDF.Code:
Details:
Thank you.
PDF File: algo.pdf
The text was updated successfully, but these errors were encountered: