Anotando texto em uma imagem vazia
<?php
/* Cria alguns objetos */
$image = new Imagick();
$draw = new ImagickDraw();
$pixel = new ImagickPixel( 'gray' );
/* Nova imagem */
$image->newImage(800, 75, $pixel);
/* Texto preto */
$draw->setFillColor('black');
/* Propriedades da fonte */
$draw->setFont('Bookman-DemiItalic');
$draw->setFontSize( 30 );
/* Cria texto */
$image->annotateImage($draw, 10, 45, 0, 'The quick brown fox jumps over the lazy dog');
/* Dá um formato à imagem */
$image->setImageFormat('png');
/* Mostra a imagem com cabeçalho */
header('Content-type: image/png');
echo $image;
?>