Skip to content
Discussion options

You must be logged in to vote

Page numbers are not a property of MuPDF page objects. Only PyMuPDF assigns page.number as a convenience to the shadowing Python Page object.
In contrast to the number, a page's xref is fixed. You can reorder the page tree of a PDF, insert new pages or delete some, and so on: all this changes the sequence number of a potentially unforeseeable set of other pages. But never their cross reference numbers.
The fact that MuPDF keeps a list of loaded pages has nothing to do with this.
So your bug submission to MuPDF is probably unfounded - I can't see your bug's content because of lack of permissions. You may want to authorize me ...

In PyMuPDF, you can load the same document page to different P…

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@abu-irrational
Comment options

Answer selected by abu-irrational
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
not a bug not a bug / user error / unable to reproduce
2 participants
Converted from issue

This discussion was converted from issue #2521 on July 11, 2023 10:55.