Can you render specific blocks onto a blank page? #2006
Unanswered
inf3rnus
asked this question in
Looking for help
Replies: 2 comments 1 reply
-
Having electricity issues, so just in short via phone: extract the text via get_text("dict"), then insert_text() on your new page using some or all properties of the extracted text.
Holen Sie sich Outlook für Android<https://aka.ms/AAb9ysg>
…________________________________
From: Aaron V ***@***.***>
Sent: Friday, October 28, 2022 8:58:27 PM
To: pymupdf/PyMuPDF ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [pymupdf/PyMuPDF] Can you render specific blocks onto a blank page? (Discussion #2006)
Hey all/Jorj!
I can't see to find in the docs if it's possible to take let's say a block, and to render all of its characters onto a new pdf page?
Any info would be greatly appreciated!
Thanks,
Aaron
—
Reply to this email directly, view it on GitHub<#2006>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AB7IDIQFM2WI72TWYK7YI7LWFRZDHANCNFSM6AAAAAARRRECKE>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Sorry for having been so laconic, now my eletricity issues are under better control again.
What do you mean? Actually this is not the case ... |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all/Jorj!
I can't see to find in the docs if it's possible to take let's say a block, and to render all of its characters onto a new pdf page?
I should add that what I'm really trying to do is do this with spans... Normally I'd just use the bbox from the spans to make a crop from the original page... However, bboxes are usually slightly off (which I know is an mupdf upstream thing), so what I'm trying to do is basically render out particular spans in isolation from everything else.
Any info would be greatly appreciated!
Thanks,
Aaron
Beta Was this translation helpful? Give feedback.
All reactions