Click to See Complete Forum and Search --> : Removing White Background in PHP


Subbulakshmi
02-27-2007, 11:52 PM
Hi all,

Whether the white area which normally appears around an image can be removed?

If yes what is the function for it?

Thanks in advance.

NogDog
02-28-2007, 02:56 AM
That would be a HTML/CSS issue, not a PHP function. Or are you talking about actually altering the image file itself, where the actual image has a white border of some sort?

Subbulakshmi
02-28-2007, 03:43 AM
Hi

I attached an image pasted in a black layout. I want the white color around the image to be removed to get only the picture.

For this the whole picture should be read and the hex color needs to be checked.I think so. Iam not sure how to proceed.

Thank u for reply.

cjc1055
02-28-2007, 07:43 AM
unless I just really don't understand what you're trying to say, you need to edit the image in a program like photoshop, there is no other way I see of editing an image.