[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Surfarray Question



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