"rgba(00,255,0,1) = Array.At(loopindex("xloop"),loopindex("yloop"))"
It looks like you are trying to compare/match colors on the array you added to the layout (which is blank?), rather than reading image data from the canvas. I'm still getting hung up on this...
Thanks for your patience.