I'd like to convert dynamic HTML elements to images (jpg, png, ..) , I don't want to get a screenshot of a webpage nor from a static html file.
The purpose is something like this but on the server-side:
var imgs=[]
for (var i = 0; i < templates.length; i++){
var tempHtml = $(templates[i]).find("#imagePlaceHolder").attr("src", url[i]);
imgs.push(convert2Image(tempHTML));
}
xxxxxxxx
zzzz