Re: [GD-DEVEL] [proposal] Attach DIB section buffer to gdImage
[email protected] (Mateusz Loskot)
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <[email protected]> |
Pierre wrote: > 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. Pierre, Thank you very much. I'd like to speed up development of Windows CE port and bring fully featured version with next release. Currently, libgd is usable but this attach-to-buffer feature would make it possible to use libgd as a replacement of GDI on Windows CE, what I consider as a very important feature for this platform. Looking forward this stuff and then will start playing and committing to the CVS. Thanks! Cheers -- Mateusz Loskot http://mateusz.loskot.net