We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
res may be bytes type ,so no "m_internal" attribute
x.pdf
import fitz doc = fitz.open('x.pdf') doc.fullcopy_page(0)
1.24.13
MacOS
3.12
The text was updated successfully, but these errors were encountered:
Cannot confirm: Works for me on Linux and Windows, PyMuPDF 1.24.13 and 1.24.11.
Sorry, something went wrong.
You did not even mention what error happened by the way.
I'am sorry
import fitz doc = fitz.open('x.pdf') doc.fullcopy_page(1)
This time yes. This happens only if the duplicated page is empty (has no /Contents objects). Easy fix.
/Contents
No branches or pull requests
Description of the bug
res may be bytes type ,so no "m_internal" attribute
How to reproduce the bug
x.pdf
import fitz
doc = fitz.open('x.pdf')
doc.fullcopy_page(0)
PyMuPDF version
1.24.13
Operating system
MacOS
Python version
3.12
The text was updated successfully, but these errors were encountered: