mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2024-12-21 19:08:24 +01:00
12 lines
327 B
JavaScript
12 lines
327 B
JavaScript
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);
|
|
} |