Re: [GD-DEVEL] as they are written given in the channel alpha ?
| From: | Pierre | Date: | Sat, 10 Feb 2007 22:25:53 +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-84@lists.php.net to get a copy of this message | ||
On 2/9/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 08, 2007 11:37 AM Subject: Re: [GD-DEVEL] as they are written given in the channel alpha ? On 2/8/07, yagyog <yagyog@tiscali.it> wrote:You can't generate text with alpha as antialias. That's coming though, more about this topic in the next 2-3 weeks :) --PierreCan you show me an example? Similar to this http://www.yag.altervista.org/varius/1/T1.png----- Original Message ----- From: "Pierre" <pierre.php@gmail.com> To: "yagyog" <yagyog@tiscali.it> Cc: <gd-devel@lists.php.net> Sent: Wednesday, February 07, 2007 10:04 PM Subject: Re: [GD-DEVEL] as they are written given in the channel alpha ?On 2/7/07, yagyog <yagyog@tiscali.it> wrote:I do not understand the question. What are you refering to? Are you asking how to keep the alpha information while saving an image to a file? If yes, you have to use the gdImageSaveAlphablending function (1). When you set it and save your image to a PNG image, the alpha channel will be stored in the image and preserved. (1) void gdImageSaveAlpha(gdImagePtr im, int saveFlag)like from topic as they are written given in the channel alpha ?I would want to create rows png that a channel alpha with of the data (example has: opening it with photoshop, gimp)