Commit graph

365 commits

Author SHA1 Message Date
Christoph M. Becker
20ddc39b6a
Fix GH-1529: Missing documentation of second parameter of imagick.writeimagefile 2022-04-20 19:10:53 +02:00
George Peter Banyard
c44e9cb68b
Fix some (con|de)structor pages (#1507)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2022-04-06 18:55:35 +01:00
George Peter Banyard
73fae4ee51
Fix syntax errors in examples (#1504) 2022-04-05 11:15:46 +01:00
George Peter Banyard
42aa8713e3 Fix section order in Imagick docs 2022-04-02 15:40:34 +01:00
Martin Samesch
48754af1a1
Fix return type (int → bool) (#1359)
* Fix return type (int → bool)

Mentioned in doc-de #67 by Daijobou (thanks).
Changelog entry?

* added changelog (thanks saundefined)

* Section returnvalues adjusted

* Forgot to adjust description.

* Update reference/imagick/imagick/getimagealphachannel.xml

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

* Correct purpose

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2022-03-29 20:15:14 +00:00
Christoph M. Becker
29168cf804
Closes GH-1024: imagick flop explanation is mistake
We also fix that issue for Gmagick::flopImage.
2021-12-17 15:45:18 +01:00
Christoph M. Becker
2272b929a1
Document Imagick installation on Windows
We also remove the out-dated (or outright wrong) requirements info for
Windows.
2021-11-10 19:18:06 +01:00
Livia Medeiros
6ce32bdcf3
Fix return value of Imagick::montageImage
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-974.
2021-09-27 14:55:05 +02:00
Christoph M. Becker
b0268930dc
Fix #73587: Sample of imagemagic::getimagegeometry is irrelevant 2021-08-02 14:19:17 +02:00
Sergey Panteleev
8726060a81
Fix ImagickDraw::getGravity return value 2021-07-27 16:21:03 +03:00
Yoshinari Takaoka
e0cbe35fce
fixed return value of ImagickDraw::clone. 2021-07-26 21:32:52 +09:00
Sergey Panteleev
0f49e97eeb
ImagickDraw enhancement 2021-07-26 11:48:35 +03:00
Sergey Panteleev
668b6fc288
Fix example title and constants in ImagickDraw 2021-07-22 15:31:46 +03:00
zors1
636409541f
Fix refpurpose of Imagick::getImageAttribute (#807) 2021-07-21 17:23:26 +03:00
George Peter Banyard
68c2c87150 Fix extension doc membership 2021-06-13 23:23:33 +01:00
Sergey Panteleev
65c4446ab3
Fix issues in Imagick directory
Part of #658
2021-06-10 14:52:56 +03:00
Christoph M. Becker
161f444538 Fix #76203: roundCorners method no longer exists 2021-03-16 14:33:38 +01:00
Christoph Michael Becker
9bf67e6ba6 ImagickPixel::getColor() takes an int, not a bool
Closes GH-262.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351875 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 15:32:16 +00:00
Christoph Michael Becker
02639373d9 Fix Imagick::getImageChannelMean() return value
Closes GH-259.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351874 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 14:28:49 +00:00
Christoph Michael Becker
8476c2a4c6 Remove sentence not followed by example
Closes GH-260.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351873 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 14:20:20 +00:00
Christoph Michael Becker
59da12cf81 Fix Imagick::getQuantumDepth() return type
Closes GH-261.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351872 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 14:17:41 +00:00
Christoph Michael Becker
84b3decdfe Mark static imagick methods as such
This is an amendment to r351870, where some Gmagick methods have accidentally
been marked as static, instead of the intended Imagick methods.  Not sure about
Gmagick, but I don't bother either, because that extension never had a stable
release, so I revert these changes.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351871 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 14:02:44 +00:00
Christoph Michael Becker
3193e2e78f Mark static imagick methods as such
These methods are static as of PECL imagick 3.3.0; previously, the methods
that already existed have been non-static methods which were allowed to be
called statically.  This info is irrelevant for the docs, though, since the
latest stable version before 3.3.0 was 3.1.0 which was released on 2013-09-06,
and as such not compatible with PHP 7.

Closes GH-263.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351870 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 13:41:15 +00:00
Christoph Michael Becker
fa0c88f1e3 Add missing public modifiers to imagick methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351855 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-03 22:28:04 +00:00
Christoph Michael Becker
dc38da9dbb Fix imagick version info
We also remove the Imagick::getimagemagicklicense() docs, because that
function never has been released.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351853 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-03 18:19:21 +00:00
Christoph Michael Becker
0ffb9c9fc8 Add missing public modifiers to Imagick methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351852 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-03 14:54:48 +00:00
Christoph Michael Becker
9a46200da9 Improve Imagick::affineTransformImage() example
Related to https://github.com/Imagick/imagick/pull/357

Closes GH-249.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351734 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 22:49:17 +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
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
eb0bd932eb Replace "number" type with built-in types
There is really no need for a pseudo type here; we can either use the
`int|float` union, or spell out the abbreviation, instead.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351123 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 09:17:09 +00:00
Christoph Michael Becker
af5f2f87b3 Add PECL in front of version numbers in changelogs
Patch contributed by Benjamin Morel <benjamin.morel@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350988 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-25 15:11:56 +00:00
Christoph Michael Becker
cb45cf9772 Fix #80038: PECL imagick 3.4.4 deprecated Imagick::getimagematte
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350428 c90b9560-bf6c-de11-be94-00142212c4b1
2020-08-31 10:50:36 +00:00
Christoph Michael Becker
025256e0e1 Fix #79268: Greater-than / Less-than rendering in code example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349219 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-13 07:49:54 +00:00
Christoph Michael Becker
0aab179357 Fix #79036: PIXEL_INTEGER constant undefined
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348726 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-29 12:16:43 +00:00
George Peter Banyard
d693ad157f Adapting some anonymous user contributions.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348339 c90b9560-bf6c-de11-be94-00142212c4b1
2019-11-24 05:12:07 +00:00
Christoph Michael Becker
fa8daf247e Fix typo
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347993 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-15 16:33:34 +00:00
Nikita Popov
f1e951b988 Remove duplicated words
Patch by carusogabriel.

Closes php/doc-en#7.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347749 c90b9560-bf6c-de11-be94-00142212c4b1
2019-07-14 13:46:42 +00:00
Christoph Michael Becker
118dfa4b8f Improve Imagick::(get|set)ResourceLimit() docs
Inspired by a patch provided by an anonymous user.
This also integrates user note 107489.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346545 c90b9560-bf6c-de11-be94-00142212c4b1
2019-01-04 19:18:57 +00:00
Christoph Michael Becker
4210c09b1e Mandatory parameters do not have defaults
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346201 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-07 15:33:22 +00:00
Peter Cowburn
ef72d7bbb3 link to imagecropauto from Imagick::trimImage() (doc bug #75898)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344186 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-05 20:38:15 +00:00
Jakub Vrana
66d9935ec5 Fix signatures
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344121 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-30 22:40:01 +00:00
Jakub Vrana
b8758b0605 Use entities in initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343899 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:11:34 +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
Jakub Vrana
c9fc76e53e Fix types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343885 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 14:56:14 +00:00
Christoph Michael Becker
295a84e091 Fix parameter type
-- 
Provided by anonymous 86885 (alitrix@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343349 c90b9560-bf6c-de11-be94-00142212c4b1
2017-10-30 18:21:29 +00:00
Pieter Hordijk
bad6e1cd55 --
Provided by anonymous 83215 (jack@jackmathis.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342592 c90b9560-bf6c-de11-be94-00142212c4b1
2017-06-14 14:50:06 +00:00
Jean-Sebastien Hedde
077349a92e the first "is" is incorrect in this sentence construction and the sentence needed a bit more clarification that I added
-- 
Provided by anonymous 83215 (jack@jackmathis.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342578 c90b9560-bf6c-de11-be94-00142212c4b1
2017-06-09 12:19:22 +00:00
Peter Cowburn
c2de57c798 return value for Imagick::getImageColors
Patch contributed anonymously via online editor

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342523 c90b9560-bf6c-de11-be94-00142212c4b1
2017-05-28 13:48:31 +00:00