pdfcpu
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-02-04 11:14:02 +01:00
parent 123dc3dc92
commit 7e82ac91a7

10
index.d.ts vendored
View File

@@ -487,14 +487,16 @@ interface PdfPackage {
* @returns []byte of new pdf data
*/
cpu(
command: "watermark",
command: "watermark" | "stamp",
pdfData: any,
options: {
description: {
pages?: (string | number)[]
description?: {
[key: string]: number | string
}
mode: "image"
bytes: any // []byte of watermark image
mode?: "image" | "pdf"
bytes?: any // []byte of watermark image
file?: string // file for pdf watermark
}
): any
}