Re: Images problem
| From: | Randy Rinehart | Date: | Wed, 17 Nov 2004 16:29:38 +0000 |
| Subject: | Re: Images problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202314@lists.php.net to get a copy of this message | ||
I believe you can use imagecopymerged to do this.
http://us2.php.net/manual/en/function.imagecopymerge.php
please let me know if that helps.
Thanks
-randy rinehart
----- Original Message -----
From: "Phpu" <phpu@go.ro>
To: <php-general@lists.php.net>
Sent: Wednesday, November 17, 2004 10:05 AM
Subject: [PHP] Images problem
If i have 2 images:
$im1 = imagecreate (100, 100);
$white = ImageColorAllocate ($im1, 255, 255, 255);
$im2 = imagecreate (50, 50);
$black = ImageColorAllocate ($im2, 0, 0, 0);
How can i put $im2 over $im1 and result one single image? Is there a
function to do this?
Thank You