Replies: 2 comments 2 replies
-
Also, I would want to know how to manage z-index such that image drawing is not overlapped randomly but based on z-index extraction of each drawing. |
Beta Was this translation helpful? Give feedback.
-
There is a utility Otherwise: |
Beta Was this translation helpful? Give feedback.
-
Hi @JorjMcKie
I am back again with another question.
I am trying to extract drawings from PDF as images. I aiming to achieve that each drawing in PDF is saved as an image with me. Along with that I get their rects as well. This will be me render it back to the PDF and achieve same PDF.
I create a new page on empty PDF and one by one copy drawings and get_pixmap with alpha as true which gives me a transparent background image with drawing on it.
For each page I create new page with same dimensions of page.
I am looking to achieve the dimensions which exactly fit the drawings
How can I extract exact dimension of Draw so I can create new page based on that and get exact fit
Beta Was this translation helpful? Give feedback.
All reactions