2023-10-29 20:19:59 +02:00
|
|
|
|
2023-11-10 21:08:07 +03:00
|
|
|
import SharedOperations from '@stirling-pdf/shared-operations'
|
2023-11-10 23:23:18 +03:00
|
|
|
|
|
|
|
|
// Import injected libraries here!
|
2023-11-10 21:08:07 +03:00
|
|
|
import * as pdfcpuWrapper from "@stirling-pdf/shared-operations/wasm/pdfcpu/pdfcpu-wrapper-browser.js";
|
2023-10-29 20:19:59 +02:00
|
|
|
|
2023-11-10 21:08:07 +03:00
|
|
|
async function impose(snapshot: any, nup: number, format: string) {
|
|
|
|
|
return SharedOperations.impose(snapshot, nup, format, pdfcpuWrapper)
|
2023-10-29 20:19:59 +02:00
|
|
|
}
|
|
|
|
|
|
2023-11-10 21:08:07 +03:00
|
|
|
export default {
|
|
|
|
|
...SharedOperations,
|
|
|
|
|
impose,
|
2023-10-29 20:19:59 +02:00
|
|
|
}
|