image rendering in python
Fredrik Lundh
fredrik at pythonware.com
Wed Nov 28 18:37:03 EST 2007
mobiledreamers at gmail.com wrote:
> http://cdnll.i.imagechef.com/ic/templimg2/Shaved%20Head.jpg
> 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
text).
</F>
More information about the Python-list
mailing list