Imagick::getImageProperties()
Imagick::getImageProperties - Returns the image properties
Syntax
array Imagick::getImageProperties (
string $pattern,
bool $only_names)
Arguments
- pattern - The pattern for property names.
- only_names - Whether to return only property names. If FALSE then also the values are returned
Description
Returns all associated properties that match the pattern. If TRUE is passed as second parameter only the property names are returned. This method is available if Imagick has been compiled against ImageMagick version 6.3.6 or newer.
Version
PHP PECL imagick 2.0.0
Return value
Returns an array containing the image properties or property names.