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:[EMAIL PROTECTED] 
Sent: Wednesday, November 17, 2004 11:05 AM
To: [EMAIL PROTECTED]
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to