Commit graph

474 commits

Author SHA1 Message Date
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 #76235: 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 #27591.

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
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 #75788: 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
Chris Wright
db6db42bed Document 2nd arg for imagebmp() as optional
Fixes #75531

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 #75438: 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
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 #74239: 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
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
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
Christoph Michael Becker
8d4eef1572 png2wbmp() and jpeg2wbmp() are deprecated as of PHP 7.2.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341003 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-13 22:49:30 +00:00
Maciej Sobaczewski
3906c681cd Fix inconsistent changelogs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340948 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-11 12:55:45 +00:00
Christoph Michael Becker
cbfca3b77d Document new imageresolution() function
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340568 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-20 10:50:51 +00:00
Christoph Michael Becker
2f4a6b7ebc Remove out-dated information
Neither information regarding PHP 4 nor GD < 2.0.4 is relevant anymore.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340502 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-17 11:47:48 +00:00
Christoph Michael Becker
2f6123253c Document new imageopenpolygon() function
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340500 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-17 09:20:34 +00:00
Christoph Michael Becker
edf411e2cd Fix #73274: imagescale() with IMG_WEIGHTED4 always returns FALSE
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340412 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-09 16:50:23 +00:00
Christoph Michael Becker
bab7e4c16c Fix broken markup
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340409 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-09 12:34:02 +00:00
Christoph Michael Becker
7affcb8275 Fix #73272: imagescale() is not affected by, but affects imagesetinterpolation()
We fix the documentation part of this bug, namely that imagesetinterpolation()
would affect imagescale() what has never been the case.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340408 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-09 12:29:59 +00:00
Christoph Michael Becker
055cdb7c7e Document imagecrop()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340406 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-09 11:33:10 +00:00
Christoph Michael Becker
de99d5d89b Document IMAGETYPE_WEBP
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340375 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-07 22:36:06 +00:00
Christoph Michael Becker
10d3f753b5 Clarify that only *supported* image types work
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340373 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-07 18:18:52 +00:00
Christoph Michael Becker
adb09c0aab Clarify purpose of the examples
This integrates user note 105479.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340314 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-04 15:30:56 +00:00
Christoph Michael Becker
ec54028a96 Fix #73235: imagerotate() always ignores $ignore_transparent
Well, we're not actually fixing the issue, but rather document the current state.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340286 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-03 16:34:07 +00:00
Christoph Michael Becker
d1cc38ade9 Document IMG_EFFECT_MULTIPLY (available as of PHP 7.2.0)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340274 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-02 17:48:55 +00:00
Christoph Michael Becker
a0f88d3663 imageantialias() will be generally available as of PHP 7.2.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340272 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-02 11:33:02 +00:00