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

This commit is contained in:
Sebastian Frank 2022-02-05 10:57:29 +01:00
parent 7e82ac91a7
commit 78b33639c5
Signed by: apairon
GPG Key ID: A0E05A8199CE3F57

8
index.d.ts vendored
View File

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