Re: [GD-DEVEL] as they are written given in the channel alpha ?
[email protected] (Pierre)
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <[email protected]> |
On 2/13/07, yagyog <[email protected]> wrote: > > ----- Original Message ----- > From: "Pierre" <[email protected]> > [cut] > >> >> To: "yagyog" <[email protected]> > >> >> I would want to create rows png that a channel alpha with of the data > >> >> (example has: opening it with photoshop, gimp) > >> > > >> > Can you show me an example? > >> > > >> Similar to this > >> http://www.yag.altervista.org/varius/1/T1.png > > > > You can't generate text with alpha as antialias. > > > > That's coming though, more about this topic in the next 2-3 weeks :) > > > > excuse but I have not understood. > > I try to make it simpler. given one value x and y as I make to change the > brightness (alpha) of those pixel? > It is not possible to draw a string while keeping the alpha channel as anitialiasing, like in your T1.png image. The brightness has nothing to do with that. If I understand your goal correctly, you would like to transform the gray value of a given pixel into a black pixel with a alpha channel, where the alpha channel is defined by the original gray value. Is it what you want? --Pierre