Re: [GD-DEVEL] as they are written given in the channel alpha ?

From: Date: Tue, 13 Feb 2007 12:55:28 +0000
Subject: Re: [GD-DEVEL] as they are written given in the channel alpha ?
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-108@lists.php.net to get a copy of this message
On 2/13/07, yagyog <yagyog@tiscali.it> wrote:
----- Original Message ----- From: "Pierre" <pierre.php@gmail.com> [cut]
To: "yagyog" <yagyog@tiscali.it> 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

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