Imagick::setImageProperty

(PECL imagick 2.0.0)

Imagick::setImagePropertySets an image property

˵��

Imagick::setImageProperty ( string $name , string $value ) : bool

Sets a named property to the image. �˷�����Imagick����ImageMagick 6.3.2���ϰ汾����ʱ���á�

����

name

value

����

Example #1 Using Imagick::setImageProperty():

Setting and getting image properties

<?php
$image 
= new Imagick();
$image->newImage(300200"black");

$image->setImageProperty('Exif:Make''Imagick');
echo 
$image->getImageProperty('Exif:Make');
?>

�μ�

����ֵ

�ɹ�ʱ���� TRUE��