Christoph Michael Becker
ac84f2b81c
imagecreatefromstring() supports WebP as of PHP 7.3.0
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351755 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-29 23:43:47 +00:00
Christoph Michael Becker
e41806c30b
Revert revision(s) 351724 from phpdoc/en/trunk:
...
Document false and null return types
Cf. <https://news-web.php.net/php.doc.cvs/17645 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351730 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 18:05:44 +00:00
Christoph Michael Becker
4754397753
Revert revision 351727 from phpdoc/en/trunk:
...
Document false and null return types
Cf. <https://news-web.php.net/php.doc.cvs/17645 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00
Jakub Vrana
69bd53265b
Document false and null return types
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 15:12:46 +00:00
Jakub Vrana
c80da7c04a
Document false and null return types
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351724 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 12:54:59 +00:00
Christoph Michael Becker
0ebd26c45c
Document imagegetinterpolation()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351555 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-24 00:33:46 +00:00
Christoph Michael Becker
b95d28e6ec
Fix return types
...
Functions which return false on failure should state that in their
signature as well.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351135 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:52:35 +00:00
Christoph Michael Becker
86e6094e86
Use canonical type names
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
Christoph Michael Becker
6dc00c0480
Add imagecrop() to "see also" sections of imagecopy*()
...
Actually, the given examples of cropping and resizing, respectively, are
anachronistic; one would use imagecrop() and imagescale(), respectively,
nowadays. As such they should be replaced with some still useful
examples.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350829 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-09 14:04:49 +00:00
Christoph Michael Becker
f85d380904
Normalize "see also" sections of image book according to skeletons
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350828 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-09 13:59:15 +00:00
Christoph Michael Becker
e12ed8b6aa
Remove PHP 5 related info from image book
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350826 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-09 13:04:56 +00:00
Christoph Michael Becker
029ab30c40
Fix #80168 : Warning on using second arg for imagexbm
...
We also add a changelog entry regarding the 4th parameter, which is unused,
and removed as of PHP 8.0.0. We do not yet document the PHP 8.0.0 signature
due to yet missing union type support, though.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350742 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-01 15:20:06 +00:00
Christoph Michael Becker
3e15d2894f
Remove more changelog entries, mostly from PHP 5.4 era
...
Patch contributed by Sobak <msobaczewski@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350656 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:15:17 +00:00
Christoph Michael Becker
7f569e1f17
Remove more changelog entries, mostly from PHP 5.3 era
...
Patch contributed by Sobak <msobaczewski@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350655 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:08:59 +00:00
Christoph Michael Becker
9af43469f4
Remove more changelog entries, mostly from PHP 5.2 era
...
Patch contributed by Sobak <msobaczewski@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350654 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:52:31 +00:00
Christoph Michael Becker
be5b0f33a1
Remove more changelog entries, mostly from PHP 5.1 era
...
Patch contributed by Sobak <msobaczewski@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350653 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:45:57 +00:00
Christoph Michael Becker
428f19e346
Remove functions no longer present in PHP 7.0.0
...
Patch contributed by Sobak <msobaczewski@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350648 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 12:43:20 +00:00
Christoph Michael Becker
8a534c555a
There are no "image link resource"s
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350343 c90b9560-bf6c-de11-be94-00142212c4b1
2020-08-19 22:35:34 +00:00
Christoph Michael Becker
2a521fdf94
The GD and GD2 formats are obsolete
...
Cf. <http://libgd.github.io/manuals/2.2.5/files/gd_gd-c.html >
and <http://libgd.github.io/manuals/2.2.5/files/gd_gd2-c.html >.
This integrates user note 124797.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349322 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-05 17:40:50 +00:00
Christoph Michael Becker
38f840329e
Add example for conversion of typical alpha values
...
This integrates user note 103146, 106642 and 124527.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348664 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-22 14:59:32 +00:00
Christoph Michael Becker
b94027e267
Fix #55005 : imagepolygon num_points requirement
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348252 c90b9560-bf6c-de11-be94-00142212c4b1
2019-11-02 13:05:52 +00:00
Christoph Michael Becker
a70a7036bc
ext/gd supports WebP as of PHP 5.4.0
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347892 c90b9560-bf6c-de11-be94-00142212c4b1
2019-08-25 11:06:02 +00:00
Christoph Michael Becker
d8d1504e85
Fix return value description
...
Based on a patch provided by an anonyous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347731 c90b9560-bf6c-de11-be94-00142212c4b1
2019-07-12 13:02:37 +00:00
George Peter Banyard
508e255fff
Remove PHP 4 and 5.0.0 mentions.
...
This includes changelogs but also some paragraphs and notes which mention PHP 4.
This should include all mentions of PHP 4 in "bundled" extensions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347589 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-11 13:21:49 +00:00
Christoph Michael Becker
107819d757
Clarify that WBMPs are not Window bitmaps
...
This integrates user note 13441.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347443 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-19 16:19:20 +00:00
Kalle Sommer Nielsen
54b00ce3f1
Documented IMG_FILTER_SCATTER coming in PHP 7.4.0
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347412 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-11 14:59:06 +00:00
Christoph Michael Becker
591804b0ae
Fix example
...
Alphablending affects drawing operations, so it has to be disabled before
doing these.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346690 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-03 16:02:26 +00:00
Christoph Michael Becker
8e9afcb659
Improve imagesavealpha() docs
...
Particularly, we remove the grossly out-dated paragraph regarding missing
alpha support on some browsers (IE 6/7 is certainly gone, nowadays).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346689 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-03 15:27:32 +00:00
Christoph Michael Becker
a435a5f430
Emphasize and clarify tile and brush issue
...
Cf. <https://bugs.php.net/bug.php?id=77311 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346379 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-18 16:05:00 +00:00
Christoph Michael Becker
d52b1d218a
Integrate user note 123426
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346311 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-12 18:23:22 +00:00
Christoph Michael Becker
e20c1d1997
Integrate user note 121798
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346310 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-12 18:09:21 +00:00
Christoph Michael Becker
80b8e5fbd9
Default value of $mode parameter of imagecropauto() is changed as of PHP 7.4.0
...
Cf. <https://github.com/php/php-src/pull/3679 >-
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346308 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-12 17:13:40 +00:00
Christoph Michael Becker
905ecfca12
imageautocrop() returns a copy of the image if nothing is to be cropped
...
Neither bundled nor system libgd cause a FALSE return value in this case.
Since the other differences are eliminated as of PHP 7.4.0, and are
already prominently documented, we remove the respective note.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346143 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-01 22:40:24 +00:00
Christoph Michael Becker
836c8cf1c4
imageautocrop() bahvior of bundled libgd has been synced with upstream
...
Cf. <https://github.com/php/php-src/pull/3681 >
and <https://github.com/php/php-src/pull/3682 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346142 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-01 22:21:21 +00:00
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
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 #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