Re: [GD-DEVEL] as they are written given in the channel alpha ?
[email protected] ("yagyog")
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <006b01c74c44$835373c0$4a540157@desktop> |
----- Original Message ----- From: "Pierre" <[email protected]> To: "yagyog" <[email protected]> Cc: <[email protected]> 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 <[email protected]> wrote: >> ----- Original Message ----- >> From: "Pierre" <[email protected]> >> To: "yagyog" <[email protected]> >> Cc: <[email protected]> >> 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 <[email protected]> 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) >> > >> 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