Imagick::commentImage
(No version information available, might be only in CVS)
Imagick::commentImage — Adds a comment to your image
Descrizione
bool Imagick::commentImage
( string $comment
)
Avviso
Questa funzione, al momento non è documentata; è disponibile soltanto la lista degli argomenti.
Avviso
Questa funzione è SPERIMENTALE. Ovvero, il comportamento di questa funzione, il nome di questa funzione, in definitiva tutto ciò che è documentato qui può cambiare nei futuri rilasci del PHP senza preavviso. Siete avvisati, l'uso di questa funzione è a vostro rischio.
Adds a comment to your image.
Elenco dei parametri
- comment
-
The comment to add
Valori restituiti
Restituisce TRUE in caso di successo.
Esempi
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");
?>