Q: put large image on small image in php I am rookie at php.
$qrImage = imagecreatefrompng($filename);
$tempImage = imagecreatefrompng("image/facebook.png");
$LogoImage = imagecreatetruecolor($matrixPointSize*5, $matrixPointSize*5);

// Resize Logo.
imagecopyresampled($LogoImage, $tempImage, 0, 0, 0, 0, imagesx($LogoImage), imagesy($LogoImage), imagesx($tempImage), imagesy($tempImage));

$src_x = (imagesx($qrImage)/2)-(imagesx($LogoImage)/2);
$src_y = (imagesy($qrImage)/2)-(imagesy($LogoImage)/2);

imagecopymerge($qrImage, $LogoImage, $src_x, $src_y, 0, 0, $matrixPointSize*5, $matrixPointSize*5, 90);

header("Content-Type: image/png");
imagepng($qrImage);

Using this code image look like

I want to put logo on the background of the qrCode image.
and is there any way to save this image as svg file??
Can anybody help me??
