Imagick::getOption

(PECL imagick 2, PECL imagick 3)

Imagick::getOptionReturns a value associated with the specified key

Description

public Imagick::getOption ( string $key ) : string

Returns a value associated within the object for the specified key.

Parameters

key

The name of the option

Return Values

Returns a value associated with a wand and the specified key.

Errors/Exceptions

Throws ImagickException on error.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/imagick.getoption.php