The Imagick class
PHP Manual

Imagick::setImageProperty

(PECL imagick 2.0.0)

Imagick::setImagePropertySets an image property

Descrição

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

Sets a named property to the image. Este método esta disponível apenas se Imagick foi compilado com ImageMagick versão 6.3.2 ou mais nova.

Parâmetros

name

value

Exemplos

Exemplo #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');
?>

Veja Também

Valor Retornado

Retorna TRUE em sucesso.


The Imagick class
PHP Manual