RE: Images problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxx] 
Sent: Wednesday, November 17, 2004 11:05 AM
To: php-general@xxxxxxxxxxxxx
Subject:  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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux