So I am now just starting to use canvas for javascript. I have made a canvas and when I log the data it looks like this:
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMg