Re: Transparent image resizing using php 4.4.x
| From: | Crayon Shin Chan | Date: | Sun, 10 Jun 2007 05:49:19 +0000 |
| Subject: | Re: Transparent image resizing using php 4.4.x | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-256536@lists.php.net to get a copy of this message | ||
On Sunday 10 June 2007 04:12, Sukhwinder Singh wrote:
> $img_resized = ImageCreateTrueColor ($img_new_width, $img_new_height);
> But the above doesn't work using php 4.4.x and creates images with lots
> of white lines/dots in it. Some pixel is transparent and some it isn't.
> I have no knowedge about image manuplation like alpha channels etc.
> Could anyone please provide me a solution which works using php 4.4.x
Are you sure you're getting a transparent image at all? From what I
understand GIF does not support more than 8 bits. Why not use PNG
instead?
--
Crayon