(PECL imagick 2, PECL imagick 3)
Imagick::commentImage — Adds a comment to your image
comment
The comment to add
Liefert true
bei Erfolg.
Wirft ImagickException bei Fehlern.
Beispiel #1 Using Imagick::commentImage():
Commenting an image and retrieving the comment:
<?php
$im = new imagick();
$im->newImage(100, 100, new ImagickPixel("red"));
$im->commentImage("Hello World!");
echo $im->getImageProperty("comment");
?>