Page 1 of 1

Imagecopy / Multiple images

Posted: Tue Dec 31, 2002 6:01 am
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]

can u help?

Posted: Sat Jan 04, 2003 1:30 am
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

Posted: Sat Jan 04, 2003 1:49 am
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