Is there a built-in text selection feature in PyMuPDF (like in standard PDF readers)? #4766
Replies: 2 comments
-
|
Please have a closer look at the various README file there: We will not keep these examples up to date in any reliable or regular way. Use them at your own risk. We will gladly accept change requests for any improvement you can identify. |
Beta Was this translation helpful? Give feedback.
-
|
If you are looking for a greatly improved text extraction to either plain text or markdown-styled output, I do recommend using our package pymupdf4llm, v0.2.0 together with the brand new PyMuPDF-Layout package. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi 👋
I know there are some powerful tools in PyMuPDF-Utilities,
but they don’t seem to be consolidated into a single library.
I’d like to know if there is any built-in or ready-to-use way in PyMuPDF to achieve
the same text selection behavior as standard PDF readers (dragging the mouse, highlighting text, copying, etc.).
Or does this need to be fully implemented manually using page geometry and text spans?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions