Re: Transparent image resizing using php 4.4.x

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

 



At 1:12 AM +0500 6/10/07, Sukhwinder Singh wrote:
-snip-
Could anyone please provide me a solution which works using php 4.4.x

Sukhwinder Singh

Instead of:

imagecolortransparent($img_resized, $transparent);

try:

imagecolortransparent($img,imagecolorat($img,0,0));

Look-up imagecolorat().

Cheers,

tedd
--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
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