View Full Version : PHP GD: Images on images
Romanity
22-02-2007, 10:33 PM
Oki, so i got my basic thingy, the stand with the habboname and mission on it, but now i need to know how to put an image on top.
I have the coding and the image, but need the function to put it on...
anyone know?
You would use the imagecopy function.
http://us3.php.net/imagecopy
$i1 = imagecreatefromgif('i1.gif');
$i2 = imagecreatefromgif('i2.gif');
$x = 50;
$y = 50;
imagecopymerge($i1, $i2, $x, $y, 0, 0, imagesx($i2), imagesy($i2), 100);
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.