Thanks for your suggestion, It's done using node-canvas.
Posts made by mshafrizal
Using HTML Canvas in docx recipe
My team already has template to generate report using docx recipe. It's working fine until I've been assigned to a task where a client asked to include thermal images for their report.
We have functions to decode raw thermal images from backend as an array buffer. We successfully render thermal images in our web app using HTML Canvas API,
CanvasRenderingContext2D.createImageData(). And now I am wondering how to render the decoded thermal images to docx recipe. Can I use HTML canvas inside docx recipe? So I can use
createImageData()like I did in web app.
This is list of packages we use
Note: I am new to jsreport