i have two images. let assume is same size. is it possible to "add" two images become one? just like overlap... plz help..
Yes, it is possible, but it may be a bit confusing for you if you are just starting out. http://www.php.net/gd http://www.php.net/manual/en/image.examples.php
$image1 = imagecreatefromjpeg("images/thumbs/my_image-thumb.jpg"); $image2 = imagecreatefromjpeg("template_new.jpg"); $new_image_width = imagesx($image2); $new_image_height = imagesy($image2); imagecopymerge($image2, $image1, 0, 0, 0, 0, $new_image_width, $new_image_height, 50); imagejpeg($image2,"final3.jpg"); PHP: this function is work... but i saw the color is a bit light (i set 50)... is there any way can make the color of two images look like the original? sorry for my poor english...
It is possible, I'd recommend using ImageMagick API for this, especially if you're a bit familiar with ImageMagick (useful stuff). http://php.net/imagick