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

Function test_2692

tests/test_general.py:576–592  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

574 _ = font.flags
575
576def test_2692():
577 document = pymupdf.Document(f'{scriptdir}/resources/2.pdf')
578 for page in document:
579 pix = page.get_pixmap(clip=pymupdf.Rect(0,0,10,10))
580 dl = page.get_displaylist(annots=True)
581 pix = dl.get_pixmap(
582 matrix=pymupdf.Identity,
583 colorspace=pymupdf.csRGB,
584 alpha=False,
585 clip=pymupdf.Rect(0,0,10,10),
586 )
587 pix = dl.get_pixmap(
588 matrix=pymupdf.Identity,
589 #colorspace=pymupdf.csRGB,
590 alpha=False,
591 clip=pymupdf.Rect(0,0,10,10),
592 )
593
594
595def test_2596():

Callers

nothing calls this directly

Calls 2

get_displaylistMethod · 0.80
get_pixmapMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…