()
| 1832 | assert cp.returncode |
| 1833 | |
| 1834 | def test_4224(): |
| 1835 | path = os.path.normpath(f'{__file__}/../../tests/resources/test_4224.pdf') |
| 1836 | with pymupdf.open(path) as document: |
| 1837 | for page in document.pages(): |
| 1838 | pixmap = page.get_pixmap(dpi=150) |
| 1839 | path_pixmap = f'{path}.{page.number}.png' |
| 1840 | pixmap.save(path_pixmap) |
| 1841 | print(f'Have created: {path_pixmap}') |
| 1842 | |
| 1843 | def test_4319(): |
| 1844 | # Have not seen this test reproduce issue #4319, but keeping it anyway. |
nothing calls this directly
no test coverage detected
searching dependent graphs…