So I\'ve made a function that can create pixel art from an image by finding and setting the average colour in a grid with dimensions specified by the user. But while the new pic