Hello, How are the values in a pygame.surfarray.array2d() array formed? I would like to convert a value from the array into a single channel value in the range [0,255]. (Assume 3 channels of equal intensity, so greyscale).
Ian
Hello, How are the values in a pygame.surfarray.array2d() array formed? I would like to convert a value from the array into a single channel value in the range [0,255]. (Assume 3 channels of equal intensity, so greyscale).
Ian