Bug #64561 [Opn]: new GD ext functions missing from gd_compat.h
Edit report at https://bugs.php.net/bug.php?id=64561&edit=1
ID: 64561
Updated by: ondrej@php.net
Reported by: ondrej@php.net
-Summary: gdImagePaletteToTrueColor missing from gd_compat.h
+Summary: new GD ext functions missing from gd_compat.h
Status: Open
Type: Bug
Package: GD related
Operating System: Any
PHP Version: 5.5.0beta1
Block user comment: N
Private report: N
New Comment:
Same applies for gdImageRotateInterpolated and probably many other new functions
added.
Previous Comments:
------------------------------------------------------------------------
[2013-04-02 07:02:15] ondrej@php.net
Description:
------------
php5 fails to load gd extension due to using symbol only available from bundled
libgd.
libgd/gd_compat.h misses the definition of gdImagePaletteToTrueColor and the
function needs to be moved from gd.c to gd_color.c. (Or something like that.)
And it definitely needs a test in the test suite (or you can finally take over the
libgd2 and release a new version for everyone, pretty please).
Expected result:
----------------
# php5
#
Actual result:
--------------
# php5
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20121212+lfs/gd.so' - /usr/lib/php5/20121212+lfs/gd.so: undefined
symbol: gdImagePaletteToTrueColor in Unknown on line 0
#
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64561&edit=1
Thread (5 messages)