Replies: 1 comment 2 replies
-
Draft: https://gist.github.com/mara004/87276da4f8be31c80c38036c6ab667d7 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As in #230, yet another python pdf bindings idea, see the title.
I already tried this a year ago or so and was able to perform some non-rendering tasks like getting PDF version, but got stuck being unable to acquire a canvas object, since the special
document
property is only defined in a browser.However, I now found
node-canvas
, which appears to be a non-browser re-implementation of Mozilla's web canvas API, so it looks like rendering with pdf.js from Python might be doable nevertheless.Beta Was this translation helpful? Give feedback.
All reactions