php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #62167 function "imagerotate" actually works with external (none bundled) GD
Submitted: 2012-05-26 17:48 UTC Modified: 2014-02-01 10:59 UTC
From: zalex_ua at i dot ua Assigned: krakjoe (profile)
Status: Closed Package: Documentation problem
PHP Version: 5.3.13 OS: Debian 6.0.3
Private report: No CVE-ID: None
 [2012-05-26 17:48 UTC] zalex_ua at i dot ua
Description:
------------
---
From manual page: http://www.php.net/function.imagerotate#refsect1-function.imagerotate-notes
---
See a note for an imagerotate function: This function is only available if PHP is compiled with the bundled version of the GD library.

Is it still true ?
For which version PHP, libGD ?

I CANNOT reproduce it, i.e. with external "libgd" library the PHP function imagerotate works!

From my system:
# ldd /usr/lib/php5/20100525/gd.so | grep gd
	libgd.so.2 => /usr/lib/libgd.so.2 (0x00007fc2c594e000)

# dpkg -l | grep libgd2
ii  libgd2-xpm                           2.0.36~rc1~dfsg-5                 GD Graphics Library version 2
ii  libgd2-xpm-dev                       2.0.36~rc1~dfsg-5                 GD Graphics Library version 2 (development version)


I suppose there that note has been added into PHP doc:
https://bugs.php.net/bug.php?id=24468


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-05-26 18:14 UTC] zalex_ua at i dot ua
The the same note located at pages for functions:
imagelayereffect
imagecreatefromxpm
imagecolormatch
imageantialias
imagefilter
imagexbm

Maybe you also will need to check these pages.
 [2014-02-01 10:58 UTC] krakjoe@php.net
Automatic comment from SVN on behalf of krakjoe
Revision: http://svn.php.net/viewvc/?view=revision&revision=332765
Log: fix #62167 gd is bundled with compat header in all supported versions of PHP
 [2014-02-01 10:59 UTC] krakjoe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: krakjoe
 [2014-02-01 10:59 UTC] krakjoe@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

The gd extension is bundled with a compat header in all stable, supported versions of PHP. The note is no longer applicable and has been removed from all pages mentioned here.
 [2016-09-30 18:52 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=340264
Log: imageantialias() is only available with the bundled libgd

Despite what has been claimed in bug #62167, see
<https://github.com/php/php-src/blob/PHP-7.1.0RC3/ext/gd/gd.c#L4560-L4580>.
 [2020-02-07 06:08 UTC] phpdocbot@php.net
Automatic comment on behalf of krakjoe
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=c60db92e5118271198cb4fccc0b104bcee376bee
Log: fix #62167 gd is bundled with compat header in all supported versions of PHP
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 01:01:30 2024 UTC