Skip to content
Discussion options

You must be logged in to vote

The image insert method is insert_image.
You normally do not need to convert the binary data output imgdata from base64 via PIL first. That is to say, all image formats complying with https://pymupdf.readthedocs.io/en/latest/pixmap.html#supported-input-image-formats can be used directly as values for parameter stream.

Replies: 1 comment 1 reply

Comment options

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

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