Possibility to obtain output as pikepdf.Pdf object? #114

Closed
opened 3 years ago by mara0004 · 0 comments

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 a pikepdf.Pdf object?

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 a `pikepdf.Pdf` object?
mara0004 closed this issue 3 years ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: josch/img2pdf#114
Loading…
There is no content yet.