modesty / pdf2json

converts binary PDF to JSON and text, for server-side PDF processing and command-line use.
https://github.com/modesty/pdf2json
Other
1.99k stars 377 forks source link

Error: Invalid XRef stream #274

Closed failvaliev closed 1 month ago

failvaliev commented 2 years ago

Счет для покупателя №00001410 от 26.05.2021 17_13.pdf Error reading this file: Invalid XRef stream.

изображение

const pdfParser = new PDFParser(this, 1); pdfParser.on("pdfParser_dataError", errData => { console.error(errData.parserError) }) pdfParser.on("pdfParser_dataReady", pdfData => { //.... }); pdfParser.loadPDF(file);

Tobias-Keller commented 1 year ago

3408_7747_1677535747076.pdf having the same problem with this file

VitorBrangioni commented 10 months ago

any update?