ImageCopyMerge only appears to only process the bottom image?
As a trial I am trying to overlay and offset a white and blue image
$dest = '../images/pictures/white.gif';
$src = '../images/pictures/blue.gif';
imagecopymerge($dest, $src, 12, 65, 0, 0, 175, 260, 50);
imagegif($dest);
imagedestroy($dest);
imagedestroy($src);
and then later in the HTML display the output
<img src="<?php echo($dest); ?>" />
What am I doing wrong?
To do process your images first need to load the images into RAM using the
imagecreatefrom*functions.The following won’t work either.
You either need to link to the php script which calls the
imagegif()functionor you need to convert the imagedata into an data URL (but i wouldn’t recomend that if the image is large).