Date: 11/29/01
- Next message: Ken Savage: "[PHP] getting a user's ip address"
- Previous message: John S. Huggins: "Re: [PHP] Server wont execute my PHP files!!"
- In reply to: Michael Hall: "[PHP] color problems when resizing image with GD"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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:mike <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: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Ken Savage: "[PHP] getting a user's ip address"
- Previous message: John S. Huggins: "Re: [PHP] Server wont execute my PHP files!!"
- In reply to: Michael Hall: "[PHP] color problems when resizing image with GD"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

