-
scan a image pixel by pixel
Hello, Im trying to move an image pixel by pixel so I can export squares of it as png, I need to move the image from x=160 to x=-119 and then go back to x=160 but y +1 to pass to the next line
I have this so far so I can export the first linebut how i make it move again to the left and add a pixel movement in y axis everytime I complete a line?
Thank you for reading and let me know if you have the solution
x=160;
i=time;
if (i<280/24){x=x+time*24*-1}else{x=160;}
x;