j
k
j a
j l
Your surface has a "format" field which contains the PixelFormat for that surface. Using that, you can map an Image.Color.Color object to the correct key value with the map_rgb() method.
Back to the thread
Back to the list