Uncaught Error: Could not identify number bounds: [175078,175076]
Uncaught Error: Could not identify number bounds: [175078,175076] at Function.extractNumber (util.ts:328) at CrossReferenceTable.extractReferences (document-history.ts:256) at CrossReferenceTable.extract (document-history.ts:329) at DocumentHistory.extractCrossReferenceTable (document-history.ts:373) at DocumentHistory.extractDocumentHistory (document-history.ts:421) at new PDFDocumentParser (parser.ts:278) at new AnnotationFactory (annotation.ts:19) at FileReader.reader.onload (annotation.ts:39)
AnnotationFactory.loadFile("/file4451982.pdf").then((factory) => { factory.createTextAnnotation(0, [50, 50, 80, 80], "Pop up note", "Max") factory.download() })
I Cannot Read Or Write with pdfAnnotate but pdfjs is reading all annotations fine ......
It Only Happens On Some Pdf Files
static convertAsciiToString(val) { let ret = ""; for (let i = 0; i < val.length; ++i) { ret += String.fromCharCode(val[i]); } return ret; }
and the source of error is this code
Can you provide the PDF file? Otherwise I cannot reproduce the exception.