[Image-SIG] centering graphical text with PIL?

Fredrik Lundh fredrik at pythonware.com
Tue Dec 12 08:12:59 CET 2006


Alec Bennett wrote:

> I'm trying to center some graphical text using the PIL. Anyone have a
> clue how to do this?
> 
> If there's some way of knowing how big the resulting graphical word
> is, I could obviously center it.

http://effbot.org/imagingbook/imagedraw.htm#Draw.textsize

</F>



More information about the Image-SIG mailing list