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锟斤拷