Open biloo-dev opened 3 years ago
I want to do the same but with the encrypt method:
let bufferPdf;
const pdfDoc = new HummusRecipe(filename);
pdfDoc
.encrypt({
userPassword: key,
ownerPassword: key,
userProtectionFlag: 4
})
.endPDF(buffer => {
bufferPdf = buffer;
});
Hi everyone I have an image that received it from the server I don't want to save it to path Can I use buffer instead of path