I am using Intel XDK and making a game which can change layer into a single DIV. after user choose proper layer, I had function which use drawImage to merge into single image.
$('#design-container').children('img').each(function(){
c=document.getElementById("myCanvas");
var ctx=c.getContext("2d");
var img=document.getElementById($(this).attr('id'));
ctx.drawImage(img, 0, 0);
});
Now it is display correctly on my app, but what I can do if I want to save this image into camera roll ?
Now I purely use app_framework and jQuery only. should I include phonegapp to work?