but how do i make a loop to go through 2x2 portions of my array of array?
Type: Posts; User: choloboy
but how do i make a loop to go through 2x2 portions of my array of array?
I am trying to work with this a two dimensional array, that represents greyscale of an image... I want to pixelate the image by averaging 2x2 blocks and replacing each value by the average of the 2x2...