Commit graph

586 commits

Author SHA1 Message Date
Christoph Michael Becker
cbf6bba350 Improve optional parameter docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346101 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-27 16:33:35 +00:00
Christoph Michael Becker
3f323ecf21 Document differences between bundled and system libgd
See also <https://github.com/php/php-src/pull/3681>.

Together with r346037 this also integrates user note 123362.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346039 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-24 15:49:43 +00:00
Christoph Michael Becker
5ccf746244 Clarify meaning of $mode default value
See also <https://github.com/php/php-src/pull/3679>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346037 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-23 16:09:08 +00:00
Christoph Michael Becker
afff1e9feb Document changed configure option
Cf. <https://github.com/php/php-src/pull/3632>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345963 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-07 13:32:36 +00:00
Christoph Michael Becker
c275d0e5ab Document image2wbmp() deprecation
Cf. <https://wiki.php.net/rfc/image2wbmp>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345114 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-10 10:45:11 +00:00
Christoph Michael Becker
92e25e152b Document *actual* behavior
See <https://wiki.php.net/rfc/image2wbmp>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345112 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-09 21:13:30 +00:00
Christoph Michael Becker
f8dca7cec6 Add mutual reference
Inspired by a patch provided by Vladimir S.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345053 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-25 14:49:35 +00:00
Christoph Michael Becker
f543b07b0a Fix bug : imagejpeg does not always return false on error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344720 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-18 16:26:00 +00:00
Christoph Michael Becker
f6b4529602 $imageinfo only supports JFIF
See bug .

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344612 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-03 13:14:59 +00:00
Christoph Michael Becker
1ebd03cac1 Document that imageft*() are extended variants of imagettf*()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344605 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-01 15:00:28 +00:00
Christoph Michael Becker
081558397b imagecolorat() may also return FALSE
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344604 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-01 14:16:57 +00:00
Christoph Michael Becker
653e79693a Move important note upward to make it more prominent
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344603 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-01 13:59:27 +00:00
Christoph Michael Becker
b84cc8e4c5 DRY
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344602 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-01 13:53:02 +00:00
Christoph Michael Becker
6a38f33d08 Fix order of sections
The changelog is supposed to come before the examples.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344601 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-01 13:34:19 +00:00
Christoph Michael Becker
134d541212 GD 1 is long gone
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344599 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-31 21:27:44 +00:00
Christoph Michael Becker
ad3d256ffd Move removal warning to <refsynopsisdiv> analogous to the other imageps*() functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344597 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-31 13:12:07 +00:00
Christoph Michael Becker
8cfd23405f Yet more DRY
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344596 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-31 12:21:02 +00:00
Christoph Michael Becker
54c346839d Fix build and more DRY
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344595 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-31 12:19:53 +00:00
Christoph Michael Becker
1faec0faeb DRY
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344594 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-31 11:57:01 +00:00
Christoph Michael Becker
5c0c87e3e9 Fix return value section
`imagedashedline()` fails, if an invalid resource is passed.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344592 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-30 21:39:28 +00:00
Christoph Michael Becker
2d381a03b8 Use already defined language snippet
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344588 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-29 17:15:20 +00:00
Christoph Michael Becker
3b090cccc2 Fix typo
Patch provided by Jorrit Schippers.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344561 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-25 13:51:26 +00:00
Christoph Michael Becker
6e2531fee2 Fix XML ID
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344334 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-23 09:53:34 +00:00
Christoph Michael Becker
f3bdf92d3e Don't try to imagedestroy() FALSE
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344284 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-18 19:09:02 +00:00
Pieter Hordijk
c2b0f6ace4 make the reader aware that imagecrop() returns a new image and therefore 2 image resources need to be freed after using it.
-- 
Provided by anonymous 82013 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344273 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-16 15:16:47 +00:00
Jakub Vrana
3df65c988d Add new INI entries
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344076 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 21:38:11 +00:00
Jakub Vrana
7c50ead1ed Fix versions based on parsed php-src
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344068 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 15:23:17 +00:00
Jakub Vrana
34e7abe2be Unify version format
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344055 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 14:33:03 +00:00
Jakub Vrana
3e9734391f Add new functions to versions.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344041 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 13:39:15 +00:00
Jakub Vrana
fa994a739c Fix function signatures
Some of these probably deserve an entry in changelog, please add it if you have energy.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343898 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:03:56 +00:00
Jakub Vrana
dd07341fae Remove trailing fullstop in <refpurpose>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343888 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 15:34:22 +00:00
Christoph Michael Becker
d0bf71f15b Add link to "Supported Protocols and Wrappers"
That is supposed to be sufficient to remove user note 102902.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343854 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-22 14:38:59 +00:00
Christoph Michael Becker
099a58be24 Fix bug : getimagesize() for GIF
We clarify the details regarding the image size reported by
getimagesize() for GIFs vs. the actual size of images created by
imagecreatefromgif().

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343841 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-15 13:58:49 +00:00
Christoph Michael Becker
bb612d4a31 Fix : GD massive memory consumption
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343821 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-12 16:21:05 +00:00
Chris Wright
db6db42bed Document 2nd arg for imagebmp() as optional
Fixes 

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343414 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-15 23:28:23 +00:00
Christoph Michael Becker
d47f8424f1 Fix : 2nd parameter of imagewebp() is optional
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343295 c90b9560-bf6c-de11-be94-00142212c4b1
2017-10-25 12:08:02 +00:00
Christoph Michael Becker
734a21605c Fix erroneous description of gd.jpeg_ignore_warning
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343231 c90b9560-bf6c-de11-be94-00142212c4b1
2017-10-11 14:13:37 +00:00
Christoph Michael Becker
040bb7d857 Sync $fontfile description of imagettfbbox() with imagettftext()
Since both parameters are treated identically, the descriptions should
match. To avoid duplication we're introducing an entity.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342949 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-27 18:59:31 +00:00
Christoph Michael Becker
e24b13ad4f Improve IMG_FILTER_GRAYSCALE documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342945 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-27 12:45:43 +00:00
Christoph Michael Becker
0c657886f3 Fix typo
Patch provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342311 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-11 14:45:20 +00:00
Pieter Hordijk
cb8238627d Added explanation for default compression level.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342247 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-05 10:11:05 +00:00
Christoph Michael Becker
6cbc24579a Update wrt. PHP 7.1.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342151 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-17 13:08:14 +00:00
Christoph Michael Becker
7ec5fffa2f Fix : getimagesize returns incorrect value for corrupt file.
We promote the respective notice to a caution, move it up, and explain
that the returned array may contain nonsense.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342146 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-17 12:12:36 +00:00
Christoph Michael Becker
70a1b73d04 Fix typo
Patch provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341913 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-17 17:50:09 +00:00
Christoph Michael Becker
a4d6479877 Remove superfluous information
As of PHP 5.0.0 libgd 2.0.4 is required anyway.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341802 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-28 19:20:05 +00:00
Christoph Michael Becker
10c69571e7 Fix example
No need to create $im twice.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341611 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-07 12:25:45 +00:00
Christoph Michael Becker
d62da24458 Document BMP support (available as of PHP 7.2.0)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341594 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-04 14:28:17 +00:00
Christoph Michael Becker
7f829dd8a2 Fix typo and improve grammar
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341292 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-05 23:59:37 +00:00
Maciej Sobaczewski
95bdd6883b Another round of PHP 4 content removal (mostly inline mentions)
Review is welcome

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341282 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-05 10:17:07 +00:00
Maciej Sobaczewski
158f8a3d56 image_type_to_extension() was added in PHP 5.2.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341249 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-01 13:06:53 +00:00