Re: Transparent image resizing using php 4.4.x

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

 



try:

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

Look-up imagecolorat().

I had tried it earlier. As I have written in my other emails. I have tried almost all solutions. I am really wondering that no one has every faced any such problem.

I'll try what you have suggested. But I think I have already and it didn't work. But I'll let you know after trying again.

Sukhwinder Singh

----- Original Message ----- From: "tedd" <tedd@xxxxxxxxxxxx>
To: "Sukhwinder Singh" <ssruprai@xxxxxxxxxxx>; <php-general@xxxxxxxxxxxxx>
Sent: Sunday, June 10, 2007 10:08 PM
Subject: Re:  Transparent image resizing using php 4.4.x


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