Closed abelovqt closed 5 years ago
There is a method https://github.com/galkahana/HummusJS/wiki/Embedding-pdf#merging-a-page-content-to-another-page-content pdfWriter.mergePDFPagesToPage(inTargetPage,inSourcePDFFilePath,[inOptionsObject/inInterPagesCallback]) it takes second argument as path to file, but I need use buffer, is it possible?
pdfWriter.mergePDFPagesToPage(inTargetPage,inSourcePDFFilePath,[inOptionsObject/inInterPagesCallback])
Found solution, just use path to file, so at first u need save files and then use mergePDFPagesToPage() where second argument will be path to your file. Cheers!
There is a method https://github.com/galkahana/HummusJS/wiki/Embedding-pdf#merging-a-page-content-to-another-page-content
pdfWriter.mergePDFPagesToPage(inTargetPage,inSourcePDFFilePath,[inOptionsObject/inInterPagesCallback])
it takes second argument as path to file, but I need use buffer, is it possible?