Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Imagick::getImageArtifactImagick::getImageBackgroundColor>
^ImagickLast updated: Mon, 26 Oct 2026

Imagick::getImageAttribute

(PECL imagick 2, PECL imagick 3)

Imagick::getImageAttribute — Returns a named attribute

Warning

This function has been DEPRECATED as of Imagick 3.4.4. Relying on this function is highly discouraged.

Description

public function Imagick::getImageAttribute(string $key): string

Returns a named attribute.

Parameters

key

The key of the attribute to get.

Return Values


<Imagick::getImageArtifactImagick::getImageBackgroundColor>
^ImagickLast updated: Mon, 26 Oct 2026