Imagecopy / Multiple images

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
patd
Forum Newbie
Posts: 2
Joined: Tue Dec 31, 2002 6:01 am

Imagecopy / Multiple images

Post by patd »

When I create an image (imagecreate) and I copy several jpegs into this image (Imagecopy) I loose colors !! It seems the complete image takes over the color-palette of the first added image. Anyone out there has the same problem ?? And is there a workaround ?? (PHP 4.2.3 / GD Version 1.6.2 )

THNX[/url]
mh
Forum Newbie
Posts: 4
Joined: Fri Jan 03, 2003 5:19 am
Contact:

can u help?

Post by mh »

HI,
my prob is i dont even know if GD is suported. if possible send me yr php.ini. i ran a few test scripts, but no results.
THZ
mh
patd
Forum Newbie
Posts: 2
Joined: Tue Dec 31, 2002 6:01 am

Post by patd »

Great, solved the problem myself... Upgrading to GD2.0...
Using ImageCreateTruecolor instead of ImageCreate and .. Yes
not longer a color-problem.
Check : http://www.meteo.koksijde.be/wxkok.php
Post Reply