[Image-SIG] Font colour

Douglas Bagnall douglas at paradise.net.nz
Sun Apr 29 02:13:53 CEST 2007

Lad wrote:

> But I would like to write the  text to the lower left bottom, starting 30 pixels from left and 30 
> from the bottom.
> So I use
> textpos=(im.size[0]-30,im.size[1]-30)
> but it does not work. There si no text written.
> Can you please tell me why?

30 pixels from the left, with the top of the text 30 pixels above the
bottom, would be:

textpos = (30, im.size[1]-30)

What you are doing is putting the top left corner 30 pixels from the
*right* side, and the text presumably runs off the edge of the picture.


More information about the Image-SIG mailing list