Re: new_from_gd patch
| From: | Elizabeth Smith | Date: | Sun, 23 Sep 2007 21:43:40 +0000 |
| Subject: | Re: new_from_gd patch | ||
| References: | 1 2 3 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-3961@lists.php.net to get a copy of this message | ||
All right, figured out the win32 error and fixed it, windows requires
some really hacky stuff to load the code from a statically linked lib.
The code for the linux side is exactly the same as the patch before and
I have positive tests that it works for both static gd and shared gd
there. Unless I get a "oh my gosh this breaks" I'd like to commit this
patch since it fixes all the gd problems.
Just a recap -
1. You don't need gd to build php-gtk.
2. You don't have to load gd to use php-gtk, unless you want to use the
new_from_gd method.
3. You can use new_from_gd with either gd shared or static as long as
you load it before calling the method.
Thanks,
Elizabeth Smith