In proton we have following code:
getImageData:function(a,b,c){
a.drawImage(b,c.x,c.y);
var d=a.getImageData(c.x,c.y,c.width,c.height);
a.clearRect(c.x,c.y,c.width,c.height);
return d
}
And I get error @ getImageData, if remove the line of drawImage everything is OK.
As I'm not familiar with html and js, could any one give me some advice?
MUCH THANKS !
In proton we have following code: getImageData:function(a,b,c){ a.drawImage(b,c.x,c.y); var d=a.getImageData(c.x,c.y,c.width,c.height); a.clearRect(c.x,c.y,c.width,c.height); return d }
And I get error @ getImageData, if remove the line of drawImage everything is OK. As I'm not familiar with html and js, could any one give me some advice? MUCH THANKS !