Possibility to obtain output as pikepdf.Pdf
object?
#114
Closed
opened 3 years ago by mara0004
·
0 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
I am using img2pdf with the pikepdf engine, and need to add converted images to pikepdf documents in my program. Currently, I just open the output byte stream returned by img2pdf with pikepdf, but this means there is an unnecessary layer of
save()
/open()
, which might reduce performance. Would it be possible to add an option to img2pdf to directly return apikepdf.Pdf
object?