Add tests for image effects, PDF operations, rotation state, and XML to PDF utilities

This commit is contained in:
alam00000
2026-03-04 13:33:00 +05:30
parent 84848ab902
commit 90998edb25
9 changed files with 1396 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ export async function mergePdfs(
);
copiedPages.forEach((page) => mergedDoc.addPage(page));
}
return new Uint8Array(await mergedDoc.save());
return new Uint8Array(await mergedDoc.save({ addDefaultPage: false }));
}
export async function splitPdf(