Re: [GD-DEVEL] [proposal] Attach DIB section buffer to gdImage
[email protected] (Pierre)
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Mateusz, On Dec 11, 2007 8:24 PM, Mateusz Loskot <[email protected]> wrote: > Folks, > > I'd like to ask if there is any motion, comments or proposal > regarding the attach-gd-engine-to-external-buffer solution? > > Here are summary of current solution and Pierre's comments: > - buffer is allocated by client, not libgd > - buffer is not copied anywhere > - client decided about buffer format > - client needs a way to tell the libgd engine what format is used. This > could be specified by additional parameter of "attach" function > > Unfortunately, I've not grasped the idea about generic image format well > enough and what is meant as Win32 internal format. > What I need on Windows (including Windows CE) is to use true color image. I'm late on that, my apologizes. This year was busy at work but I now have some time to get some fun with GD. I like to prepare the base to add new internal formats in the next days. Once it is in there, to add new formats will be much more easier. I will post a proposal here as well as creating a branch for our experiments. Best regards, --Pierre