Going on with canvas now I want to save my canvas that I've created on the server in an image.
Here is the code that enables me to have the data of the canvas
var canvas = document.getElementById("myCanvas_OUT0");
var context = canvas.getContext("2d");
var pixout0 = context.getImageData(0, 0, 75, 100).data;
Does some one know how to convert this in a png or jpeg image and save it in a directory please?