for(i=0,j=0;i<firstCanvasPixels.width, j<firstCanvasPixels.height;i+=4,j+=4) { for (p = 0, q = 0; p < secondCanvasPixels.width, q < secondCanvasPixels.height; p+=4, q+=4) { if (firstCanvasPixels[i][j] != secondCanvasPixels[p][q]) { document.getElementById("showError").value = "Detected"; } else { document.getElementById("showError").value = "Not detected"; } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)