Determine the transparent colour from a gif image

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Determine the transparent colour from a gif image

Post by anjanesh »

Hi
imagecolortransparent() sets the transparent colour.
I want the reverse - how to determine the transparent colour from a given gif image ?
Thanks
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I don't know about the gd functions for it, however I know the information is inside the header.
Post Reply