Are you using GD 2.0.1 and PHP 4.0.6?  If yes then try

$dst_img = ImageCreateTrueColor ($new_w,$new_h);



> -----Original Message-----
> From: Michael Hall [mailto:[EMAIL PROTECTED]]
> Subject: color problems when resizing image with GD

> The problem I'm having is that the resized image drops huge chunks of the
> color pallette, creating what is basically a monochromatic image.

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to