()
| 26 | |
| 27 | |
| 28 | def test_pagepixmap(): |
| 29 | # pixmap from an EPUB page |
| 30 | doc = pymupdf.open(epub) |
| 31 | page = doc[0] |
| 32 | pix = page.get_pixmap() |
| 33 | assert pix.irect == page.rect.irect |
| 34 | pix = page.get_pixmap(alpha=True) |
| 35 | assert pix.alpha |
| 36 | assert pix.n == pix.colorspace.n + pix.alpha |
| 37 | |
| 38 | |
| 39 | def test_pdfpixmap(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…