Imagick::getOption
(PECL imagick 2.0.0)
Imagick::getOption — Returns a value associated with the specified key
说明
Imagick::getOption
( string
$key
) : stringReturns a value associated within the object for the specified key.
参数
-
key
-
The name of the option
返回值
Returns a value associated with a wand and the specified key.
错误/异常
错误时抛出 ImagickException。