Hyperlinks lost while flattening PDF #2792
Unanswered
paritoshranjan
asked this question in
Looking for help
Replies: 2 comments 1 reply
-
Why? If you nevertheless want links, then create your own code: extract the links from the source page and insert them on the page just created. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Would it be possible to insert link at the same location? Can you guide a bit with which methods to use? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug (mandatory)
Hyperlinks are getting lost while flattening PDF.
I am using following code:
To Reproduce (mandatory)
If a pdf contains hyperlink, and is flattened using the above code, the the hyperlinks do not work in the flattend pdf.
Expected behavior (optional)
Hyperlinks should work even after flattening pdf.
Your configuration (mandatory)
Windows
Python 3.11.5
PyMuPDF 1.23.5
Beta Was this translation helpful? Give feedback.
All reactions