Bug #49882 [Asn->Csd]: imagelayereffect() not available with shared GD
| From: | cmb@php.net | Date: | Sat, 16 Jul 2016 01:44:31 +0000 |
| Subject: | Bug #49882 [Asn->Csd]: imagelayereffect() not available with shared GD | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-202361@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=49882&edit=1
ID: 49882
Updated by: cmb@php.net
Reported by: woody dot gilk at kohanaphp dot com
Summary: imagelayereffect() not available with shared GD
-Status: Assigned
+Status: Closed
Type: Bug
Package: GD related
Operating System: Mac OSX 10.5
PHP Version: 5.3.0
Assigned To: pajoye
Block user comment: N
Private report: N
New Comment:
This has already been implemented with
<https://github.com/php/php-src/commit/6aedadc>,
and is supposed
to be available with all currently supported PHP versions.
Previous Comments:
------------------------------------------------------------------------
[2010-03-19 16:51:31] phpnet at bueckemeyer dot com
When will the function imagelayereffect work with the shared GD version?
------------------------------------------------------------------------
[2009-10-15 00:19:17] pajoye@php.net
Quick note: It is not due to the bundled GD usages but the new feature in the configure script on
php 5.3. This feature enables the bundled new functions even when the extension is built against the
system library. imagelayereffect was forgotten.
------------------------------------------------------------------------
[2009-10-15 00:12:55] woody dot gilk at kohanaphp dot com
Description:
------------
Using shared GD with PHP 5.3.0 should work the same as using --with-
gd=php. However, this is not true.
Reproduce code:
---------------
~> php -r 'var_dump(PHP_VERSION);'
string(5) "5.3.0"
~> php -r 'var_dump(function_exists("imagerotate"));'
bool(true)
~> php -r 'var_dump(function_exists("imagelayereffect"));'
bool(false)
Expected result:
----------------
I expected the last command to show "bool(true)".
Actual result:
--------------
It shows "bool(false)".
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=49882&edit=1