PyMuPDF
PyMuPDF copied to clipboard
Update Document to check the /XYZ len
The issue arises because some PDFs return /XYZ
coordinates in the format /XYZ x y
instead of /XYZ x y z
. This discrepancy causes the code to fail when attempting to unpack three values from an array that only contains two.