How to merge two image (png) with PHP5.6 in ubuntu 16.04.
To merge, you must install first : php-gd extension. after that, you can merge image with imagecopyresampled() and imagepng() function.
In this video will show you, how to merge two image (PNG) map. (a.png and b.png). See this video for details.