Commit graph

648 commits

Author SHA1 Message Date
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
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
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
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
Christoph Michael Becker
1c69902abc removed duplicate <function> element for imagesetbrush (fixes #66838)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337033 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-23 00:29:37 +00:00
Christoph Michael Becker
966b269f4f added changelog (fixes #69878)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337000 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-18 19:22:33 +00:00
Peter Cowburn
0938cb6b68 IMG_FILTER_BRIGHTNESS allows -225 to 255
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336904 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-09 20:59:14 +00:00
Kalle Sommer Nielsen
e7d9bc47f4 Added a changelog to each of the removed imageps*() function references for 7.0.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336856 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-29 07:44:59 +00:00
Kalle Sommer Nielsen
0c3651f909 PHP7 version info for gd
# The imagepscopyfont() removal is intended, as it was never documented anyway

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336855 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-29 07:39:19 +00:00
Kalle Sommer Nielsen
4eb6725632 Document the T1Lib removal fromn 7.0.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336854 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-29 07:37:20 +00:00
Maciej Sobaczewski
fbc4ef92fa More PHP 4 removals, mainly language snippets.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336340 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-03 08:14:30 +00:00
Adam Harvey
c5f1d257e1 Note the fix for bug #65171, and generally flesh out the imagescale() docs.
Fixes doc bug #68239 (Incorrect documentation or library bug).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335164 c90b9560-bf6c-de11-be94-00142212c4b1
2014-11-07 10:16:20 +00:00
Simion Onea
14af302c9c Making the XML definition consistent across the entire project.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334762 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 07:44:07 +00:00
Maciej Sobaczewski
e41aab5eca Remove changelogs for PHP 4 - 3rd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334621 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-27 17:46:13 +00:00
Maciej Sobaczewski
8b5940cade Remove changelogs for PHP 4 - 2nd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334605 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-26 14:28:17 +00:00
Maciej Sobaczewski
afc3f34c68 Remove changelogs for PHP 4 - 1st round
Useful changelogs entries remain untouched.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334592 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-23 17:55:23 +00:00
Peter Cowburn
eda3b067eb no more "FIXME PHP_6" todo comments
These mostly were about unicode, which probably won't come
with PHP <next major number here>, and FILE_TEXT/FILE_BINARY.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334374 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-24 12:28:07 +00:00
Peter Cowburn
6e91f734d0 Typo fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333671 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-01 13:13:28 +00:00
Peter Cowburn
d356ab0c59 Link to IMAGETYPE_XXX constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333205 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:55:53 +00:00
Peter Cowburn
ba0bcff13f typo
Patch by David Lawrence Polehonski

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333203 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:55:46 +00:00
Peter Cowburn
3c89978936 typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333197 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:55:17 +00:00
Peter Cowburn
6d51fca48e More specific about "colors parameters"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333189 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:54:46 +00:00
Peter Cowburn
bf0b399e38 Minor English fixes
-- 
Provided by anonymous 30003 (pt@fb.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333096 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-24 20:43:08 +00:00
Joe Watkins
c60db92e51 fix #62167 gd is bundled with compat header in all supported versions of PHP
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332765 c90b9560-bf6c-de11-be94-00142212c4b1
2014-02-01 10:58:54 +00:00
Chris Wright
a3e1392324 Typo fixes in imagesetinterpolation()
---
Provided by anonymous 36219

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332335 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-10 11:34:23 +00:00
Adam Harvey
2c37319ca0 Expand on why imagecreate() isn't such a smart idea nowadays.
Fixes doc bug #65777 (Unconditional recommendation not to use imagecreate is
misleading).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331628 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-01 17:11:26 +00:00
Adam Harvey
f162f15a42 Note that channels and bits aren't mandatory return fields for getimagesize().
Fixes doc bug #65749 (getimagesize not returning channels for png and bmp).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331495 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-25 23:00:46 +00:00
Chris Wright
59a1bbcb6f Whitespace fixes
Fix all outstanding strict whitespace errors flagged by the online editor

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331331 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-09 16:17:46 +00:00
Jakub Vrana
1634a88641 Delete redundant <!-- Membership: -->
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330340 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-23 17:38:21 +00:00
Jakub Vrana
a445db39cd Put PHP 5.5 functions to versions.xml
Generated by http://pastebin.com/VLfQAUT7

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330246 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-16 19:55:27 +00:00
Jakub Vrana
8e5ac3ea6e Add PHP 5.5 image functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330230 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-15 20:12:58 +00:00
Pierre Joye
50c45c7a63 - fix default and add missing bilinear
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329952 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-28 21:13:28 +00:00
Pierre Joye
b63bf5479e - correct ref to function and c/p in the example code
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329951 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-28 21:10:15 +00:00
Kalle Sommer Nielsen
0f2e02d872 * Documented imagesetinterpolation() and the relevant constants that can be used together with it.
* Updated imagerotate() to mention that its now affected by imagesetinterpolation() when rendering

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329939 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-27 14:04:52 +00:00
Kalle Sommer Nielsen
63ad4c2f57 Document 'WebP Support' using gd_info()
# Pierre will add this shortly

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329938 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-27 13:05:12 +00:00
Kalle Sommer Nielsen
e2bee5cea1 Return true here to comply
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329937 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-27 10:44:55 +00:00
Kalle Sommer Nielsen
62b9defe2b Documented imagepalettetotruecolor() available as of 5.5.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329936 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-27 03:25:21 +00:00
TAKAGI Masahiro
ee1d6c45dd Fix filename
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329900 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-23 23:05:36 +00:00
TAKAGI Masahiro
120fdf0160 Use $Revision$ instead of $Rev$
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329899 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-23 23:04:16 +00:00
Kalle Sommer Nielsen
4969860e1f Remove empty notes sections
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329896 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-23 10:11:06 +00:00
Kalle Sommer Nielsen
c626fef979 Mention gd_info() here
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329895 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-23 00:31:15 +00:00
Kalle Sommer Nielsen
fa54c57911 Another typo fix, gosh I suck at this
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329893 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-22 20:05:45 +00:00
Kalle Sommer Nielsen
1b66dabe6e Fix path
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329890 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-22 19:53:05 +00:00
Kalle Sommer Nielsen
e0ac705d20 Shhh, nobody saw that
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329889 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-22 19:50:07 +00:00
Kalle Sommer Nielsen
879bef7581 * Document WebP support
* Fix $Rev: $ for imageflip.xml

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329888 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-22 19:48:36 +00:00
Peter Cowburn
169e21933b fix build again
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329886 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-22 19:46:47 +00:00
Kalle Sommer Nielsen
ea7f884bd2 Typo fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329885 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-22 19:42:53 +00:00
Kalle Sommer Nielsen
35079122d0 List all formats supported by GD on the introduction page, including relevant notes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329883 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-22 19:30:46 +00:00
Kalle Sommer Nielsen
98cb35bf0f Note that imagecreatefromgif() uses the first frame of an animated image, as pointed out in a vague way in usernote #82912
# Usernote was deleted hereafter

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329882 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-22 19:21:58 +00:00
Kalle Sommer Nielsen
87be62964d Merge usernote comment #102402 into the documentation
# The usernote was deleted hereafter

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329881 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-22 19:01:40 +00:00
Kalle Sommer Nielsen
fed146ec1e Fix svn:props
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329874 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-22 16:09:01 +00:00
Kalle Sommer Nielsen
f50b25ab8b Documented imageflip(), available as of PHP 5.5.0 using LibGD
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329873 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-22 16:08:07 +00:00
Kalle Sommer Nielsen
d08076c1f0 It's good practice to also destroy the image resources
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329872 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-22 15:52:00 +00:00
Kalle Sommer Nielsen
7d730d5c74 Kill empty <para>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329871 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-22 15:33:51 +00:00
Kalle Sommer Nielsen
7d5306f9c9 Bye PHP4
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329587 c90b9560-bf6c-de11-be94-00142212c4b1
2013-02-27 14:50:35 +00:00
Justin Martin
0543e97382 Removed --with-ttf configure switch, as it was gone in 5.3.0.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329581 c90b9560-bf6c-de11-be94-00142212c4b1
2013-02-27 04:17:50 +00:00
Peter Cowburn
8432279c30 more detail for imagecopymerge/imagecopymergegray
--
Provided by anonymous #20490 (ajf@ajf.me)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328331 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:33:52 +00:00
Adam Harvey
6ad26c188a Add a see also link from imagecolorat() to imagesetpixel() and vice versa, per
a rather sensible suggestion in a user note.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328237 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-05 03:11:18 +00:00
Yannick Torres
38e3798be2 Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328184 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-29 15:25:28 +00:00
Sherif Ramadan
c87f8075d8 Fixed obscure language around getimagesize error section. Function does not throw a warning if the file is an invalid image. Only if the image data is corrupted.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327438 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-03 00:24:43 +00:00
Nikita Popov
3c002b0437 Fix changelogs for get_class_vars and imagecolorallocate[alpha]
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326068 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-09 18:44:58 +00:00
Hannes Magnusson
858cacd62c mark bunch of extensions with "membership" PI (like the membership comment)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326064 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-09 17:34:56 +00:00
Peter Cowburn
972972a60c Fix IMG_FILTER_COLORIZE description (doc #62198 - thanks mail+php at requinix dot net, andy at siliconrockstar dot com)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325929 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-01 20:42:04 +00:00
Joey Smith
7ae6fd70d4 document that imagecolortransparent() returns -1 if there's no current transparent color, and a new one is not specified
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325917 c90b9560-bf6c-de11-be94-00142212c4b1
2012-05-31 22:09:49 +00:00
Daniel P. Brown
7be5197da2 Addresses bug #62052.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325735 c90b9560-bf6c-de11-be94-00142212c4b1
2012-05-17 14:41:25 +00:00
Adam Harvey
5de0ed0920 Fix doc bug #61591 (mismatched argument description).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324693 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-02 01:14:16 +00:00
Yannick Torres
addba5dcce Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324459 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-22 15:15:20 +00:00
Yannick Torres
94497636f2 Fix svn keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324194 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-13 15:34:05 +00:00
Philip Olson
a7b0fcde72 Added documentation for getimagesizefromstring()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323770 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-02 03:20:50 +00:00
Jakub Vrana
f052ac1bd7 Revert useless change in 326638
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323642 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-29 00:24:15 +00:00
Jakub Vrana
c0ade579d4 PHP_INI_* is in fact INI_
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323638 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 20:26:39 +00:00
Jakub Vrana
4de5cce5d8 Linkable reference constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323624 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 13:22:09 +00:00
Hannes Magnusson
6cec8303c9 Add missing element
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321138 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-18 17:41:59 +00:00
Richard Quadling
d7470c8afc PHP4/PHP5 => PHP 4 / PHP 5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315183 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-19 10:36:17 +00:00
Richard Quadling
55e7c9742d Image is a jpg, not a renamed png.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315024 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-16 12:27:37 +00:00
Richard Quadling
fc9e379fd8 Standardise on single style of quotes for XML tag.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315005 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-16 11:38:58 +00:00
Jakub Vrana
ac04b2ea21 Extension purpose is not needed anymore
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313269 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-15 15:46:15 +00:00
Kalle Sommer Nielsen
6ce17d1621 Fix markup as spotted by Salathe
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312697 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-30 14:17:15 +00:00
Kalle Sommer Nielsen
91980b7550 Fixed bug #54976 (Wrong parameter description) -- Patch by php at sp-in dot dk
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312695 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-30 14:11:47 +00:00
Jakub Vrana
408baf1537 Trunk became PHP 5.4.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312690 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-30 13:41:29 +00:00
Richard Quadling
b28a4457b0 Use png image for imagecreatefrompng.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311535 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-28 22:59:28 +00:00
Peter Cowburn
4cfccfb378 initializer for type param of imagegd2() (doc #54763)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311153 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-17 21:28:18 +00:00
David Tajchreber
56b50d5677 Doc Bug #54748 - Missing default value for image_type_to_extension() - added default value of true to prototype
http://lxr.php.net/opengrok/xref/PHP_5_3/ext/standard/image.c#1173

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311084 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-16 15:10:17 +00:00
Richard Quadling
79dcbe011f Provide title to example sections which are currently missing their title and are not accessible via links. Fix #54693
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310851 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-09 14:13:30 +00:00
Adam Harvey
9b612dd5e5 Fix doc bug #54474 (Imagerotate is counter clockwise).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309977 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-06 09:30:05 +00:00
Nikola Smolenski
d732584196 - New entities for GD image library
- Capitalize Content-Type in all affected files as in RFC 2616 (and IMO prettier)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309972 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-05 15:03:52 +00:00
Peter Cowburn
c985c28af5 grammar - doc #54455
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309908 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-03 01:13:29 +00:00