I'm struggling trying to put text over an image with PDFmake, I'm using PDFMAKE playground image demo
var dd = {
content: [
{
stack:[
{
text:'pdfmake (since it\'s based on pdfkit) supports JPEG and PNG format',
color:'#333',
fontSize: 17
},
{
image: 'sampleImage.jpg',
}
]
}
]
}
Any dea how this could be ahieved ?