Commit graph

531 commits

Author SHA1 Message Date
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
7ab4a2b31d Don't repeat ourselves
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340383 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-08 10:35:15 +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
29cfb1b036 FreeType 1 support has already been removed long ago
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340024 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-14 00:29:22 +00:00
Christoph Michael Becker
9c06414cea Document --enable-gd-native-ttf removal
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340023 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-13 23:11:31 +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
4e530ab1a5 imagecreatefromxpm() is available on Windows as of PHP 5.3.19
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339876 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-14 12:25:57 +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
Christoph Michael Becker
2a0e3aa7be Fix #72741: imagecreatefromxpm() on Windows
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339772 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-03 10:16:27 +00:00
Christoph Michael Becker
a9fd3dce45 Note that $style must not be empty
See <https://bugs.php.net/72709>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339764 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-02 17:17:59 +00:00
Christoph Michael Becker
3cb7b87445 Most image writing functions accept also a stream as second argument
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339706 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-23 13:16:11 +00:00
Christoph Michael Becker
02fd937287 imagexbm() uses $filename also to construct the C identifiers
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339673 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-15 19:27:35 +00:00
Christoph Michael Becker
f407572f29 image(filled)ellipse ignores imagesetthickness
That has already been filed as feature request against libgd:
<https://github.com/libgd/libgd/issues/174>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339670 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-15 17:08:42 +00:00
Christoph Michael Becker
83694c8940 Document #72596: imagetypes function won't advertise WEBP support
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339665 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-14 15:38:25 +00:00
Christoph Michael Becker
d6e89ce431 Update for PHP 7.0.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339664 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-14 10:23:01 +00:00
Christoph Michael Becker
21a793708c Fix #55224: make fails if configured with --with-gd=DIR
Additionally, we get rid of the out-dated statement that PHP's bundled libgd
should generally be preferred.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339659 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-13 18:51:21 +00:00
Christoph Michael Becker
794c8b585a Fix #69182: imagecropauto function not properly documented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339649 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-11 17:54:29 +00:00
Christoph Michael Becker
7ab8ac3b12 Update docs wrt. https://github.com/php/php-src/commit/c0efb06
The migration guide to 7.1 will also have to mention this change, but it
has not been started yet and the info is already contained in UPGRADING.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339543 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-03 11:51:54 +00:00
Christoph Michael Becker
44d66aa2be XBM images apply padding now (#53640)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339384 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-17 16:24:27 +00:00
Christoph Michael Becker
b38659fe3b The second parameter is not optional as pointed out in #66386.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339318 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-10 12:35:13 +00:00
Christoph Michael Becker
96caca72c4 Document imageaffinematrix*() and IMG_AFFINE_*
That still needs improvement; especially the structure of an affine
transformation matrix has to be documented, maybe with imageaffine(),
where there are already user notes by abc at ed48 dot com which appear
to be correct.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339317 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-10 12:16:15 +00:00
Christoph Michael Becker
2599aec3b9 fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339302 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-06 19:24:45 +00:00
Christoph Michael Becker
c2aae8928b minor fixes by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338507 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-15 17:34:57 +00:00
Christoph Michael Becker
142e1a0eb7 typo fixes submitted by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338501 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-15 14:14:37 +00:00
Christoph Michael Becker
dbae88fd7e fixed #71309: Wrong images in examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338496 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-15 12:03:04 +00:00
Adam Harvey
cf10d85794 Move the imageps* warnings up to match other functions.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338428 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-08 01:34:23 +00:00
Adam Harvey
41d8e7ffe4 Update version information to include PHP 7.
This was mostly done programmatically, and is likely wrong for a small number
of functions. We may have to wait for bug reports, unless someone wants to
review this by hand. Basic efforts were made to avoid adding "PHP 7" to
functions that were removed in PHP 5.x (x > 0) and PHP 7, but there are
undoubtedly still issues.

In case we're still using Docbook for PHP 8, I've uploaded the script that I
wrote to do this to GitHub at
https://github.com/LawnGnome/php-doc-version-migrator.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338406 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-04 21:40:07 +00:00
Adam Harvey
50c3dfb417 Rename entity.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337348 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:15:27 +00:00
Adam Harvey
fa77555e3a Add removal notices to T1 functions.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337347 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:15:20 +00:00
Christoph Michael Becker
1f4b86ab4b added note that getimagesize() is not suitable to detect whether a file is an
image (contributed by Boris Madzar)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337230 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-23 21:59:05 +00:00
Christoph Michael Becker
a08be5cd1e fixed example which assumed that calling iptcembed() would fail if there's
already an APP13 marker, what is not true as of PHP 4.3.0 at least

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337191 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-18 20:03:52 +00:00
Christoph Michael Becker
1f4a041725 fixed documentation of spool parameter;
made minor improvements to example

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337182 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-17 13:16:01 +00:00
Christoph Michael Becker
5ee269e173 improved documentation of imagexbm according to #53640
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337142 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-11 20:52:56 +00:00
Christoph Michael Becker
374efba173 fixed gd_info() doc wrt. 'WebP Support' key (#70047)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337141 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-11 16:05:58 +00:00
Christoph Michael Becker
d69ec35c86 documented --with-vpx-dir=DIR config option (fixes #64476)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337140 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-11 15:25:09 +00:00