Re: PIL - transparent ImageDraw.text()

2006-07-19 Thread tac-tics
aljosa wrote: > is it possible to create transparent text (~50% transparency) on image? > i'm using the following code to draw text on image: > > >>> > font = ImageFont.truetype(str(self.font_family)+".ttf", self.font_size) > draw = ImageDraw.Draw(img) > draw.text((10, 10), self.text, font=font,fil

PIL - transparent ImageDraw.text()

2006-07-19 Thread aljosa
is it possible to create transparent text (~50% transparency) on image? i'm using the following code to draw text on image: >>> font = ImageFont.truetype(str(self.font_family)+".ttf", self.font_size) draw = ImageDraw.Draw(img) draw.text((10, 10), self.text, font=font,fill=(255,255,255)) <<< url w