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

Method _makePixmap

src/__init__.py:10190–10192  ·  view source on GitHub ↗
(self, doc, ctm, cs, alpha=0, annots=1, clip=None)

Source from the content-addressed store, hash-verified

10188 return Annot(annot)
10189
10190 def _makePixmap(self, doc, ctm, cs, alpha=0, annots=1, clip=None):
10191 pix = JM_pixmap_from_page(doc, self.this, ctm, cs, alpha, annots, clip)
10192 return Pixmap(pix)
10193
10194 def _other_box(self, boxtype):
10195 rect = mupdf.FzRect( mupdf.FzRect.Fixed_INFINITE)

Callers

nothing calls this directly

Calls 2

JM_pixmap_from_pageFunction · 0.85
PixmapClass · 0.85

Tested by

no test coverage detected