Imagick::setImageProperty
PHP function
Edit on GitHub ✎
(PECL imagick 2, PECL imagick 3)
Sets an image property
Description
Imagick::setImageProperty(string $name, string $value): bool
Sets a named property to the image. 0x632
Parameters
namevalue
Return Values
Success
Examples
Using Imagick::setImageProperty():
Setting and getting image properties
php
<?php
$image = new Imagick();
$image->newImage(300, 200, "black");
$image->setImageProperty('Exif:Make', 'Imagick');
echo $image->getImageProperty('Exif:Make');
?>