Is it possible to insert image using coordinates to existing pdf file? #349
-
Hello! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, this is not possible currently. There is no way to read in a PDF, convert it to Canvas (not all PDF features can be represented in Canvas anyways) and then convert it back to PDF. A more feasible approach would be to load in the PDF as objects and add new PDF objects to pages you draw to with Canvas, and then write out the PDF with the new objects, keeping the original objects untouched. You would only be able to draw on top (or at the bottom) of the existing drawing stack. This is currently not implemented but would be possible in the future. |
Beta Was this translation helpful? Give feedback.
Hi, this is not possible currently. There is no way to read in a PDF, convert it to Canvas (not all PDF features can be represented in Canvas anyways) and then convert it back to PDF.
A more feasible approach would be to load in the PDF as objects and add new PDF objects to pages you draw to with Canvas, and then write out the PDF with the new objects, keeping the original objects untouched. You would only be able to draw on top (or at the bottom) of the existing drawing stack. This is currently not implemented but would be possible in the future.