tags:

views:

30

answers:

1

I was searching searching for a pure python module which has functionality equalent to PHP GD library. I need to write text on a image file. I know PHP GD library can do that. Does any one know about such module in python too.

+3  A: 

Yes: the Python Imaging Library or PIL. It's used by most Python apps which need to do image processing.

Chris Adams
I've used PIL for exactly what @Idlecool is asking about.
Nathon
is it a pure python module.. i can see c files inside it..
Idlecool
No - it's a compiled C module. Among other things that means it won't work with something like Jython or IronPython but it's much faster than a pure Python implementation.
Chris Adams