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.
Adds a comment to your image.
Elenco dei parametri
- comment
-
The comment to add
Valori restituiti
Restituisce TRUE in caso di successo.
Errori/Eccezioni
Lancia una ImagickException in caso di errore.
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");
?>
Imagick::commentImage
There are no user contributed notes for this page.
