// Inside the convertToPDF() function, after creating the pdfDoc variable
// Add Harshit watermark
page.drawText('Harshit', {
x: 50,
y: 50,
size: 48,
font: await pdfDoc.embedFont('Helvetica-Bold'),
color: PDFLib.rgb(1, 0, 0), // Red color
});
// Add Krish watermark
page.drawText('Krish', {
x: 50,
y: 100,
size: 48,
font: await pdfDoc.embedFont('Helvetica-Bold'),
color: PDFLib.rgb(1, 0, 0), // Red color
});