Imagick::commentImage
(No version information available, might be only in CVS)
Imagick::commentImage — Adds a comment to your image
Descrição
bool Imagick::commentImage
( string $comment
)
Aviso
Esta função não está documentada, somente a lista de argumentos está disponÃvel.
Aviso
Esta função é EXPERIMENTAL. Isso quer dizer que o comportamento desta função e seu nome, incluindo TUDO o que está documentado aqui pode mudar em futuras versões do PHP, SEM QUALQUER NOTIFICAÇÃO. Esteja avisado, e use esta função por sua própria conta e risco.
Adds a comment to your image.
Parâmetros
- comment
-
The comment to add
Valor Retornado
Retorna TRUE em sucesso.
Exemplos
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(100, 100, new ImagickPixel("red"));
/* Add comment to the image */
$im->commentImage("Hello World!");
/* Display the comment */
echo $im->getImageProperty("comment");
?>