Re: [GD-DEVEL] trasparent image width antialiasing

From: Date: Thu, 01 Feb 2007 16:14:20 +0000
Subject: Re: [GD-DEVEL] trasparent image width antialiasing
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.gd.devel 
Request: Send a blank email to php-gd-devel+get-66@lists.php.net to get a copy of this message
On 2/1/07, yagyog <yagyog@tiscali.it> wrote:
----- Original Message ----- From: "Pierre" <pierre.php@gmail.com> To: "yagyog" <yagyog@tiscali.it> Cc: <gd-devel@lists.php.net> Sent: Thursday, February 01, 2007 4:04 PM Subject: Re: [GD-DEVEL] trasparent image width antialiasing [cut]
These images are not correct. There is no alpha used in the text and the green/red "backgournd "colors are still used. You have to create images _without_ background color and only use _alpha_ for the text anti aliasing.
my result http://www.yag.altervista.org/varius/1/test.png
Yes, and it is expected, you have green and red artifacts.
And this http://www.yag.altervista.org/varius/1/T1.png
Yes, this one is correct. well therefore with an image of this type as I can make?
Using this image you can achieve what you want. The anti aliasing will be kept. The alpha component is used to blend over the destination image.
I add: and if my image instead is flat but with the witnesses with antialing I cannot just make nothing?
If I understand your question correctly, no. The anti aliasing is done against the existing background (green or yellow in your images). By the way, which language do you use? PHP? --Pierre

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