Re: [GD-DEVEL] [proposal] Attach DIB section buffer to gdImage
| From: | Pierre | Date: | Tue, 22 Jan 2008 14:04:17 +0000 |
| Subject: | Re: [GD-DEVEL] [proposal] Attach DIB section buffer to gdImage | ||
| References: | 1 2 3 | Groups: | php.gd.devel |
| Request: | Send a blank email to php-gd-devel+get-326@lists.php.net to get a copy of this message | ||
On Jan 22, 2008 3:01 PM, Mateusz Loskot <mateusz@loskot.net> wrote:
> Pierre wrote:
> > Hi Matteus!
> >
> > I added your function as a demo in CVS (libgd/examples). I'm also
> > using it to compare results with my current work on the new internal
> > formats. I can now give you a date for a commit of this work, end of
> > next week (I'm well advanced and will get some free time early next
> > week).
>
> Pierre,
>
> Thanks!
>
> > One little bug in my code, when you resize the images and go back to a
> > smaller size, it crashes. I did not have the time to debug so feel
> > free to commit a fix if you like.
>
> OK, I'll try to debug this problem ASAP.
Fixed already :) The stride calculation was wrong. I updated the
example and added a mixed usage of GD and GDI functions.
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org