We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54b5407 commit 87fe4f0Copy full SHA for 87fe4f0
tests/resources/test_4712_a.pdf
2.85 KB
tests/resources/test_4712_b.pdf
3.25 KB
tests/test_general.py
@@ -2115,3 +2115,14 @@ def test_4702():
2115
_ = document.xref_object(xref)
2116
wt = pymupdf.TOOLS.mupdf_warnings()
2117
assert wt == 'repairing PDF document'
2118
+
2119
2120
+def test_4712():
2121
+ path_a = os.path.normpath(f'{__file__}/../../tests/resources/test_4712_a.pdf')
2122
+ path_b = os.path.normpath(f'{__file__}/../../tests/resources/test_4712_b.pdf')
2123
+ doc1 = pymupdf.open(path_a)
2124
+ for i in range(6):
2125
+ doc1.load_page(i).get_pixmap()
2126
+ doc2 = pymupdf.open(path_b)
2127
2128
+ doc2.load_page(i).get_pixmap()
0 commit comments