downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Imagick::setImageRedPrimary> <Imagick::setImageProfile
[edit] Last updated: Fri, 24 Jun 2011

view this page in

Imagick::setImageProperty

(PECL imagick 2.0.0)

Imagick::setImagePropertySets an image property

Description

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

Sets a named property to the image. This method is available if Imagick has been compiled against ImageMagick version 6.3.2 or newer.

Parameters

name

value

Examples

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

See Also

Return Values

Returns TRUE on success.



add a note add a note User Contributed Notes Imagick::setImageProperty - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites