Image copy : Image Paint : Graphics Image PHP Source Code


PHP Source Code » Graphics Image » Image Paint »

 

Image copy




<?php
$baseimage = ImageCreateFromPNG("logo.png");

$myImage = ImageCreateFromPNG("logo.png");
$gray = ImageColorAllocate($myImage, 181818);
ImageColorTransparent($myImage, $gray);
ImageCopyMerge($baseimage,$myImage,0,0,0,0,15,15,10);

header ("Content-type: image/png");
ImagePNG($baseimage);

ImageDestroy($baseimage);
?>


           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Graphics Image
» Image Paint