Stirling-PDF/shared-operations/functions/impose.ts

12 lines
327 B
TypeScript
Raw Normal View History

export async function impose(snapshot, nup, format, pdfcpuWraopper) {
return await pdfcpuWraopper.oneToOne([
"pdfcpu.wasm",
"nup",
"-c",
"disable",
'f:' + format,
"/output.pdf",
String(nup),
"input.pdf",
], snapshot);
2023-10-18 01:20:31 +02:00
}