RE: [PHP] Images problem
| From: | Mike | Date: | Wed, 17 Nov 2004 16:39:50 +0000 |
| Subject: | RE: [PHP] Images problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202319@lists.php.net to get a copy of this message | ||
If you're looking for a way to merge images, look at imagecopyresized()
If you're going to be doing a lot with images in PHP, it's good to spend a
lot of time reading the images section of the manual - there's a lot in
there and all with somewhat similar names - it can get confusing at first.
-M
-----Original Message-----
From: Phpu [mailto:phpu@go.ro]
Sent: Wednesday, November 17, 2004 11:05 AM
To: php-general@lists.php.net
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