Is it possible to get an image of DIV element which contains SVG elements with background images inside. Here is an example of SVG with background image and script which unfortunately doesn't save image of SVG elements.
html2canvas($("#widget"), {
onrendered: function(canvas) {
theCanvas = canvas;
document.body.appendChild(canvas);
// Convert and download as image
Canvas2Image.saveAsPNG(canvas);
$("#img-out").append(canvas);
// Clean up
//document.body.removeChild(canvas);
}
});