Water mark Effect : Water Mark : Graphics Image PHP Source Code


PHP Source Code » Graphics Image » Water Mark »

 

Water mark Effect



<?php
$myImage = imagecreatefromgif('largeJamySqlLogo.GIF');
$myCopyright = imagecreatefrompng('logo.png');


$destWidth = imagesx($myImage);
$destHeight = imagesy($myImage);
$srcWidth = imagesx($myCopyright);
$srcHeight = imagesy($myCopyright);

$destX = ($destWidth - $srcWidth2;
$destY = ($destHeight - $srcHeight2;
$white = imagecolorexact($myCopyright, 255255255);
imagecolortransparent($myCopyright, $white);

imagecopymerge($myImage, $myCopyright, $destX, $destY, 00, $srcWidth, $srcHeight, 50);


header("Content-type: image/jpeg");
imagejpeg($myImage);
imagedestroy($myImage);
imagedestroy($myCopyright);
?>

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Graphics Image
» Water Mark