php8.5
Home/ Manual/ imagick / imagick/ Imagick::getOption

Imagick::getOption

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Returns a value associated with the specified key

Description

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

Source: reference/imagick/imagick/getoption.xml · from the official PHP manual (php/doc-en)