Re: [GD-DEVEL] as they are written given in the channel alpha ?
| From: | Pierre | Date: | Wed, 07 Feb 2007 21:04:19 +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-75@lists.php.net to get a copy of this message | ||
On 2/7/07, yagyog <yagyog@tiscali.it> wrote:
like from topic as they are written given in the channel alpha ?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) --Pierre