[PHP] Images problem

2004-11-17 Thread Phpu
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

Re: [PHP] Images problem

2004-11-17 Thread Randy Rinehart
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

Re: [PHP] Images problem

2004-11-17 Thread Eakin, W
Phpu wrote: 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

RE: [PHP] Images problem

2004-11-17 Thread Mike
-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

Re: [PHP] Images problem

2004-11-17 Thread Phpu
It's working Thanks a lot - Original Message - From: Randy Rinehart [EMAIL PROTECTED] To: Phpu [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 6:29 PM Subject: Re: [PHP] Images problem I believe you can use imagecopymerged to do this. http://us2

[PHP] Images problem

2002-10-02 Thread Mihaela Ratri
Hi, I know that is old problem, but I could'n solved until now. Sorry for any inconvenience. I've installed gd-2.0.1 (in /my/home) and php-4.2.3 with the following options: ./configure --with-mysql --with-apache=../apache_1.3.26 --with-gd=/my/home/gd-2.0.1 --prefix=/my/home/local

[PHP] Images problem

2002-10-02 Thread Mihaela Ratri
Hi, I know that is old problem, but I could'n solved until now. Sorry for any inconvenience. I've installed gd-2.0.1 (in /my/home) and php-4.2.3 with the following options: ./configure --with-mysql --with-apache=../apache_1.3.26 --with-gd=/my/home/gd-2.0.1 --prefix=/my/home/local

[PHP] Images problem

2002-10-02 Thread Mihaela Ratri
Hi, I know that is old problem, but I could'n solved until now. Sorry for any inconvenience. I've installed gd-2.0.1 (in /my/home) and php-4.2.3 with the following options: ./configure --with-mysql --with-apache=../apache_1.3.26 --with-gd=/my/home/gd-2.0.1 --prefix=/my/home/local

Re: [PHP] images problem

2001-03-09 Thread Richard Lynch
Sent: Thursday, March 01, 2001 5:19 AM Subject: [PHP] images problem i uses the following method to display an image draw from database.. set_magic_quotes_runtime(0); $query = "select diagram from $QuestTab where q

[PHP] images problem

2001-03-01 Thread John LYC
i uses the following method to display an image draw from database.. set_magic_quotes_runtime(0); $query = "select diagram from $QuestTab where qns_id = '$QnsID'"; $result = @MYSQL_QUERY($query); $data = @MYSQL_RESULT($result,0,