How to get multiple image pixel array

…post is deleted

Research:
https://processing.org/examples/variablescope.html

Please make an effort to clean up your code and format it before posting.

:slight_smile:

1 Like

I know what is variable scope.
But when I use j value outside the loop. Where I use image[j] outside the loop I get error.
Index out of bound.