When you have to use both PIL and Pygame because missing functionalities in both of them, you need a way to convert between Pygame Surfaces and PIL Images, preferably without writing them to the disk.
For that you can use "tostring" and "fromstring" functions provided in both li...