Save pixel canvas

Hello everyone,
I wanted to know if there is a way to save all the pixels (X position, Y position, pixel color) in the canvas. I tried at first to keep them all in a list by having an X loop inside a Y loop and that's how I go through all the pixels but unfortunately it crashed the app. Is there a way to do this?

if your loop runs too long, the device gets unresponsive...
btw. you forgot to provide a screenshot of your relevant blocks...
you could try your logic together with this extension

Taifun

What I did doesn't work it doesn't matter screenshot.Do you know the fastest way to save all the pixels?

We already showed you how to do this in your other topic...

Maybe you only need to save the list of points, to redraw the canvas later?