Found out I cannot use getImageData on an actual image