is there a way to put PNG image in docHeaderImage of toPDF?
Hello @codejoin ,
You can сonvert Png to Jpg within the same domain.
Use the HTML5 <canvas> for it:
Create a canvas and load your image into it and then use toDataURL() to get the jpeg representation and call method webix.toPDF.
So we recommend converting the image on the server to immediately receive jpg.
Please note that in the snippet below the picture is stored on a third-party resource and we cannot guarantee that this URL will be always available:
It looks like you're new here. If you want to get involved, click one of these buttons!