Re: [GD-DEVEL] trasparent image width antialiasing
[email protected] (Pierre)
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <[email protected]> |
On 2/1/07, yagyog <[email protected]> wrote: > ----- Original Message ----- > From: "Pierre" <[email protected]> > To: "yagyog" <[email protected]> > Cc: <[email protected]> > 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