image - Getting canvas data without using canvas.toDataURL? -
i'm making painting application browser want work (nintendo 3ds browser) doesn't support canvas.todataurl.
i know it's possible getting canvas data without canvas.todataurl, because robdeprop (creator of 3dsplaza.com) created painting application nintendo 3ds browser.
i asked how, , replied
the 3ds not support functions canvas data. then, how do it? every time line drawn save begin coordinates , end coordinates of line array. when user hits save, convert array string , send php file post parameter. in php file convert string array. use php gd functions draw each line on image. save image. imagecreatetruecolor, imageline , imagepng need think.
but have no idea how this... help? in advance..
i'm new here please don't down note ;-;
https://code.google.com/p/todataurl-png-js/
it may android worth shot.
Comments
Post a Comment