Skip to content
Discussion options

You must be logged in to vote

Ah, ok.
You can use DocumentWriter to write to a io.BytsIO(). Then open that memory piece again as a fitz.Document: doc = fitz.open("pdf", fp.getvalue()), where fp = io.BytesIO() and DocumentWriter has written to fp.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@JorjMcKie
Comment options

Comment options

You must be logged in to vote
2 replies
@JorjMcKie
Comment options

Answer selected by vb64
@vb64
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants