PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sun May 27, 2018 2:32 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed May 20, 2009 11:11 am 
Offline
Forum Newbie

Joined: Wed May 20, 2009 10:59 am
Posts: 1
Hi everybody.

How can I add transparent background to any Image.. for example I have a JPEG image with white background color, and I want to change this background color to transparent (.png). I think that this can be done with the GD Library of php but I have tried with functions like ImageCreateTrueColor, ImageColorAllocate, ImageColorTransparent... but I have not been successful..

thanks .. !


Top
 Profile  
 
PostPosted: Wed May 20, 2009 4:24 pm 
Offline
Site Administrator
User avatar

Joined: Sun May 19, 2002 10:24 pm
Posts: 6887
:arrow: Moved to PHPGD.com. Onion2k would know :)

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group