It is a good process to join more than one image and get a single image. Using php coding join the images in there appropriate place. This is applicable for png, jpg, jpeg and gif also. Make a fun with php. The code is given bellow.

 <?php   
  header ("Content-type: image/png");   
  $src = array (   
  "http://localhost/image/img/board.png",   
  "http://localhost/image/img/head.png",   
  "http://localhost/image/img/leady.png",   
  "http://localhost/image/img/text.png"   
  );  

After loading the hearer function of images set an array of images which are to join one after another.

Please remember that the array positions are the layer of the images also. That means which one in the first in the array it print first, so it’s some part can be blocked by the other images.

$length = count($src);    
  $imgBuf = array ();    
  foreach ($src as $link)    
  {    
   switch(substr ($link,strrpos ($link,".")+1))    
   {    
   case 'png':    
   $iTmp = imagecreatefrompng($link);    
   break;    
   case 'gif':    
   $iTmp = imagecreatefromgif($link);    
   break;     
   case 'jpeg':     
   case 'jpg':    
   $iTmp = imagecreatefromjpeg($link);    
   break;     
   }    
   array_push ($imgBuf,$iTmp);    
  }    
  $iOut = imagecreatetruecolor ("600","300") ;   

The two parameters of imagecreatetruecolor function are the width and height of the final or main image.

$black = imagecolorallocate($iOut, 0, 0, 0);    
  imagecolortransparent($iOut, $black);    
  imagecopy ($iOut,$imgBuf[0],0,0,0,0,imagesx($imgBuf[0]),imagesy($imgBuf[0]));    
  imagedestroy ($imgBuf[0]);    
  imagecopy ($iOut,$imgBuf[1],50,0,0,0,imagesx($imgBuf[1]),imagesy($imgBuf[1]));    
  imagedestroy ($imgBuf[1]);    
  imagecopy ($iOut,$imgBuf[2],200,70,0,0,imagesx($imgBuf[2]),imagesy($imgBuf[2]));    
  imagedestroy ($imgBuf[2]);    
  imagecopy ($iOut,$imgBuf[3],350,125,0,0,imagesx($imgBuf[3]),imagesy($imgBuf[3]));    
  imagedestroy ($imgBuf[3]);    
  imagepng($iOut);    
  imagepng($iOut, "img/join_img.png");    
  ?>   

The imagecopy function is for adjust the images in their position. The four parameters are padding from main image. Its start from left side and goes clock wise. And finally imagepng save a png image.