image rendering in python

Fredrik Lundh fredrik at
Thu Nov 29 00:37:03 CET 2007

mobiledreamers at wrote:

> Do u know how to make such images using PIL

using PIL, you can prepare a background image (the head), an overlay 
layer (properly shaded flesh tones) and a mask (e.g. using ImageDraw and 
a suitable font), and then use the "paste" method to paste the overlay 
onto the background.

you can use the "transform" method to tweak the mask (e.g. to bend the 


More information about the Python-list mailing list