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

search for in the

Imagick::compareImageChannels> <Imagick::combineImages
Last updated: Sun, 25 Nov 2007

view this page in

Imagick::commentImage

(No version information available, might be only in CVS)

Imagick::commentImage — Adds a comment to your image

설명

bool Imagick::commentImage ( string $comment )
Warning

This function is currently not documented; only the argument list is available.

Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

Adds a comment to your image.

매개변수

comment

The comment to add

반환값

성공시에 TRUE를 반환합니다.

예제

Example#1 Using Imagick::commentImage():

Commenting an image and retrieving the comment:

<?php

/* Create new Imagick object */
$im = new imagick();

/* Create an empty image */
$im->newImage(100100, new ImagickPixel("red"));

/* Add comment to the image */
$im->commentImage("Hello World!");

/* Display the comment */
echo $im->getImageProperty("comment");

?>



add a note add a note User Contributed Notes
Imagick::commentImage
There are no user contributed notes for this page.

Imagick::compareImageChannels> <Imagick::combineImages
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites