Re: Transparent image resizing using php 4.4.x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux