Home > PHP > Function > > Imagick::getOption()

Imagick::getOption()

Imagick::getOption - Returns a value associated with the specified key

Syntax

string Imagick::getOption (string $key)

Arguments

  • key - The name of the option

Description

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

Version

PHP PECL imagick 2.0.0

Return value

Returns a value associated with a wand and the specified key. Throw an ImagickExceptionon error.