Commit graph

348 commits

Author SHA1 Message Date
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
Peter Cowburn
32c9782788 link to compression constants from Imagick::setCompression
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342520 c90b9560-bf6c-de11-be94-00142212c4b1
2017-05-28 13:48:21 +00:00
Dan Ackroyd
8aee21b408 Added description of parameter.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342294 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-10 17:51:52 +00:00
Dan Ackroyd
878915e1ae Thanks for the patch. This explains what the function actually does.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342293 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-10 16:57:18 +00:00
Dan Ackroyd
7c044d72c9 Update return type and description.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341872 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-07 23:26:29 +00:00
Dan Ackroyd
f985a4a8c0 Updating return value and parameter description.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341871 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-07 23:23:37 +00:00
Dan Ackroyd
5a03773740 Corrects parameter description.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341870 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-07 23:20:16 +00:00
Christoph Michael Becker
894b3c74d9 Fix typos
Patches provided by anon users.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340865 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-04 14:57:17 +00:00
Kalle Sommer Nielsen
6819e8a570 Fixed bug #73387 (Imagick::compareImages return type mismatch)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340699 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-26 09:14:37 +00:00
Dan Ackroyd
ead0bd3cc9 Added words for ImagickPixel::getColorCount
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339398 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-19 11:36:16 +00:00
Christoph Michael Becker
f64cb0898b The sample code echos back binary version of the original string.
Because it is a sample code for Imagick::readImageBlob,
it should output imagick object.

-- 
Provided by anonymous 62055 (h.yamagata@nifty.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337487 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 16:38:55 +00:00
Dan Ackroyd
c8e1f05f71 Added caution message for Imagick::extentImage
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336316 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-01 17:02:53 +00:00
Dan Ackroyd
18dc6d0d46 Added lots of examples to Imagick
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336315 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-01 15:11:11 +00:00
Dan Ackroyd
fe067bd924 Added new ImagickKernel class as well as added missing documentation for other classes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336301 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-31 17:07:27 +00:00
Peter Cowburn
d6dfddd2f2 fix build (<method> to <methodname>)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336224 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-27 16:21:02 +00:00
Dan Ackroyd
fb8b515330 Added transformImageColorspace, clarified setImageColorspace, removed unneeded and inappropriate copyright information.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336223 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-27 13:22:19 +00:00
Dan Ackroyd
16c2eb9b26 Updated to correct return type.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336216 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-27 00:07:37 +00:00
Jean-Sebastien Hedde
014378af8b Fix indentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336043 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-06 12:41:16 +00:00