IvyTools
General Category => Bug Reports => Topic started by: tilutza on February 14, 2020, 05:39:16 AM
-
Hello! I am evaluating Ivy and it seems to work pretty well. However, I have a strange PDF which in Adobe Reader works. If I open in Ivy it gets' the error that "UglyToad.PdfPig.Core.PdfDocumentFormatException: 'Could not read the first token in the document at position 0.'".
Do you guys know why?
The code that reads PDF is the simplest one:
PdfParser p = new PdfParser(IvyDocumentReader.ReadPdf(pdfFileName));
var text = p.ExtractText();
return p.Text;
The problematic PDF is at: https://drive.google.com/open?id=1malOKp5-M3ZKAXxdQ8mNal4mLpX24_iE
-
Hello Tilutza,
Sorry to hear about your problem. Could you let me know what version of IvyPdf you are using?
I just tried opening it with 1.61.4 and it seems working fine. There were a few issue fixed recently, so I'm hoping this one has been fixed already. Could you please try it and confirm?
http://ivytools.net/downloads.html
Thank you,
Andrew - IvyTools Support