convert(): add option to get engine document (e.g. pikepdf.Pdf) #203

Open
mara0004 wants to merge 7 commits from mara0004/img2pdf:return_engine_doc into main

7 commits

Author SHA1 Message Date
fd27129b10 Fix typo in test 2024-08-28 00:38:50 +02:00
7afbdd8925 Factor out from convert() too, adapt pdfdoc 2024-08-28 00:32:10 +02:00
c1c77a7453 Extract a separate function from tostream() 2024-08-27 22:44:39 +02:00
316629fa40 Write to tmp path rather than output/
output seems to be part of the git repository and used for comparisons
2024-08-26 15:04:52 +02:00
d4b49c510a Minor cleanup 2024-08-26 14:44:34 +02:00
8d931f9570 Add simple test 2024-08-26 14:40:29 +02:00
be313aa793 convert(): add option to return the engine document handle 2024-08-26 14:32:58 +02:00