adarshnub

Results comments of adarshnub

const pdfDataToBuffer = Buffer.from(originalPdf.fileData, 'base64'); const pdfDoc = await PDFDocument.load(pdfDataToBuffer); const newPdfDoc = await PDFDocument.create(); i have a base64 string of pdf file saved in db, i call the file...