Skip to content

Is it possible to insert image using coordinates to existing pdf file? #349

Answered by tdewolff
ashcycling asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ashcycling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants