You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The list returned by doc.get_ocgs() contains the expected names of the OCGs, but the ones in the 'layer' field of the elements in page.get_drawings() are misdecoded.
Description of the bug
The list returned by
doc.get_ocgs()
contains the expected names of the OCGs, but the ones in the'layer'
field of the elements inpage.get_drawings()
are misdecoded.How to reproduce the bug
Running the following code:
With the following file:
layers-test2.pdf
Gives the following output:
PyMuPDF version
1.23.21
Operating system
Windows
Python version
3.12
The text was updated successfully, but these errors were encountered: