MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / _get_all_contents

Method _get_all_contents

src/__init__.py:24878–24882  ·  view source on GitHub ↗
(page)

Source from the content-addressed store, hash-verified

24876
24877 @staticmethod
24878 def _get_all_contents(page):
24879 page = _as_pdf_page(page.this)
24880 res = JM_read_contents(page.obj())
24881 result = JM_BinFromBuffer( res)
24882 return result
24883
24884 @staticmethod
24885 def _insert_contents(page, newcont, overlay=1):

Callers 1

read_contentsMethod · 0.80

Calls 3

_as_pdf_pageFunction · 0.85
JM_read_contentsFunction · 0.85
JM_BinFromBufferFunction · 0.85

Tested by

no test coverage detected