Replies: 1 comment 1 reply
-
You have several options for this:
|
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.
-
I’m curious why PyMuPDF doesn’t offer a built-in feature to preserve the layout of a PDF in a text-based output, even though it provides precise coordinates for each word.
In our project, we needed layout-preserved text, so we used the coordinates of each word to recreate a 2D canvas with the original layout. While this works, it would be incredibly helpful if PyMuPDF offered a native way to export layout-preserved text.
Is there a specific reason why this hasn’t been included as a feature yet? Or is there an existing solution or community-recommended approach we might have missed?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions