Posts Tagged With 'greyscale'
Pygame Greyscale
For varies reasons I wanted to convert a pygame surface to greyscale this morning, but I couldn't find a decent solution on the internet. Converting to an 8bit surface then changing to a greyscale palette doesn't work as you may hope. The solution I eventually came up with is :
...
posted April 3, 2010. It has 627 comment(s).
tagged with: convert format grayscale greyscale pygame python snippet surface