(No version information available, might only be in SVN)
Imagick::functionImage — Applies a function on the image
$function
, array $arguments
[, int $channel
= Imagick::CHANNEL_DEFAULT
] )Applies an arithmetic, relational, or logical expression to an image. Use these operators to create lighter or darker versions of an image, to increase or decrease contrast in an image, or to negate the image colors. 此方法在Imagick基于ImageMagick 6.4.9以上版本编译时可用。
function
Refer to this list of function constants
arguments
Array of arguments to pass to this function.
成功时返回 TRUE
。
错误时抛出 ImagickException。