We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
**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
let ImgBuffer = res.data const pdfDoc = new HummusRecipe(input, output); pdfDoc .editPage(2) .image(ImgBuffer), 350, 660, { width: 200, keepAspectRatio: true, }) .endPage() .endPDF(console.log);
The text was updated successfully, but these errors were encountered:
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; });
Sorry, something went wrong.
No branches or pull requests
**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
The text was updated successfully, but these errors were encountered: