I've searched high and low and I see lots of talk but I can't figure out what I've done wrong. Can anyone help me fix this code so I can merge PNG 24 images together to build a chair.
This code:
________________________________
$dest = imagecreatefrompng("images/base.png");
$src = imagecreatefrompng("images/back.png");
$arm = imagecreatefrompng("images/arms.png");
imageAlphaBlending($dest, false);
imageSaveAlpha($dest, true);
header("Content-Type: image/png");
imagecopymerge($dest, $src, 0, 0, 0, 0, 618, 800, 100);
// imagecopymerge($dest, $arm, 0, 0, 0, 0, 618, 800, 100);
imagepng($dest);
imagedestroy($src);
imagedestroy($dest);
________________________________
Yields the attached picture.

