Commit graph

434 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
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
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
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
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
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
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
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
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
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
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