I'm trying to use Base64 to compare two images to see if they are identical.
The images are accessed using:
var thumb5Original = "";
var thumb5Edited = "";
thumb5Original = canvas5.toDataURL('image/png');
thumb5Edited = canvas5.toDataURL('image/png');
I then check them using this:
if (thumb5Original.toString() == thumb5Edited.toString()) document.getElementById('tHeader5').innerHTML = "Original Image";
if (thumb5Original.toString() != thumb5Edited.toString()) document.getElementById('tHeader5').innerHTML = "Edited Image";
The problem is, I'm getting "Edited Image" e