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

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

(http://www.php.net/manual/en/function.imagecreatetruecolor.php)

-Andy



> -----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 (http://www.php.net/)
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