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
Christoph Michael Becker
e5d20e319e
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 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340264 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-30 18:52:20 +00:00
Christoph Michael Becker
6c9cb61806
Document imagesetclip() and imagegetclip()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340158 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-24 14:14:54 +00:00
Christoph Michael Becker
8504e556ba
Add 7.2.0 changelog entry
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340157 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-24 13:31:49 +00:00
Christoph Michael Becker
c47d41f644
Improve image(ttf|ft)(text|bbox) docs
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340022 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-13 17:39:51 +00:00
Christoph Michael Becker
674885fd4f
Fix #66817 : imagecreatefromstring has undocumented warnings
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339917 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-21 12:28:53 +00:00
Christoph Michael Becker
de6cf4129f
Document default values of imagegd(2)s optional parameters
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339880 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-14 18:26:15 +00:00
Christoph Michael Becker
4ca59ff030
Fix misinformation regarding the bundled GD
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339877 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-14 12:48:17 +00:00
Christoph Michael Becker
235f3d10c6
Update GD docs wrt. to required versions
...
PHP 5.0.0 requires GD >= 2.0.4 anyway, so we can remove a lot of out-dated info.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339875 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-14 11:17:37 +00:00
Christoph Michael Becker
345e07d0f8
imagewebp() has an optional $quality parameter
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339773 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-03 13:53:56 +00:00