Started migrating workflow controller

This commit is contained in:
Felix Kaspar
2023-11-13 00:09:12 +01:00
parent 57142381ca
commit 5ae8cb77ac
29 changed files with 96 additions and 127 deletions

View File

@@ -0,0 +1,12 @@
export async function impose(snapshot: any, nup: number, format: string, pdfcpuWrapper: any) {
return await pdfcpuWrapper.oneToOne([
"pdfcpu.wasm",
"nup",
"-c",
"disable",
'f:' + format,
"/output.pdf",
String(nup),
"input.pdf",
], snapshot);
}