image transparency

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
SidewinderX
Forum Contributor
Posts: 407
Joined: Fri Jul 16, 2004 9:04 pm
Location: NY

image transparency

Post by SidewinderX »

well i made an image and saved it as a png, when i created it in photoshop and saved it the image had a transparent background, but when i used imagecreatefrompng() and it outputed the image, the background was no longer transparent. Is there something im doing wrong? Should i use a different function?

thank you
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

onion2k has posted how to load transparent pngs on several occasions..
Post Reply