Re: [GD-DEVEL] Drawing anti-aliased text with transparent background

From: Date: Sat, 17 Mar 2007 18:23:12 +0000
Subject: Re: [GD-DEVEL] Drawing anti-aliased text with transparent background
References: 1 2 3 4  Groups: php.gd.devel 
Request: Send a blank email to php-gd-devel+get-136@lists.php.net to get a copy of this message
Sorry if I might appear repeating myself, but I need to make myself clear. My goal is to create a .png image that has some text on a transparent background. I need that image to look equally good placed on top of any other image regardless of its color or transparency. I can easily create such .png images with Gimp or Photoshop. So I wonder if it can be done with the library. Thank you, Andrew On 3/17/07, Pierre <pierre.php@gmail.com> wrote:
On 3/17/07, Andrei Stebakov <lispercat@gmail.com> wrote: BTW, if I select white as a transparent background color I got a text on a black color: http://www.greenpixeldesign.com/cphandler/tmp-img/test1.png Why does it happen? Truecolor images are zero (black) filled by default. --Pierre


« previous php.gd.devel (#136) next »