(PECL imagick 2, PECL imagick 3)
Imagick::appendImages — Append a set of images
Append a set of images into one larger image.
Returns Imagick instance on success.
Throws ImagickException on error.
Example #1 Imagick::appendImages() example
<?php
$im = new Imagick();
$im->newImage(100, 50, "red");
$im->newImage(100, 50, "green");
$im->newImage(100, 50, "blue");
$im->resetIterator();
$combined = $im->appendImages(true);
$combined->setImageFormat("png");
header("Content-Type: image/png");
echo $combined;
?>
The above example will output something similar to: