diff --git a/demo/extract-img2.py b/demo/extract-img2.py index ac66df4ac..17b859801 100644 --- a/demo/extract-img2.py +++ b/demo/extract-img2.py @@ -91,7 +91,7 @@ def recoverpix(doc, item): #------------------------------------------------------------------------------ for i in range(1, lenXREF): # scan through all objects try: - text = doc._getObjectString(i) # PDF object definition string + text = doc._getXrefString(i) # PDF object definition string except: print("xref %i " % i + doc._getGCTXerrmsg()) continue # skip the error diff --git a/doc/PyMuPDF.pdf b/doc/PyMuPDF.pdf index 3d200174b..bc5711479 100644 Binary files a/doc/PyMuPDF.pdf and b/doc/PyMuPDF.pdf differ diff --git a/doc/html.zip b/doc/html.zip index 343bf50b0..667f9b697 100644 Binary files a/doc/html.zip and b/doc/html.zip differ