<?php
bool public Imagick::addImage(Imagick $source);
?>
<?php
$imagick = new Imagick(PATH2IMGW . '/png/php0.png');
$t = new Imagick(PATH2IMGW . '/png/php1.png');
$str1img = 'img/results/php541.png';
$imagick->addImage($t);
$Data = $imagick->getImageBlob();
// echo $Data;
$img = imagecreatefromstring($Data);
imagejpeg($img, $str1img);
echo basename($str1img); ?>
<br><br>
<img src="<?php echo $str1img; ?>"
alt="<?php echo $str1img; ?>"
title="<?php echo $str1img; ?>">