One more transparency question

GD and GD2 are useful libraries for creating graphics on-the-fly. Discuss your PHP GD and GD2 scripts here.

Moderators: onion2k, General Moderators

Post Reply
Jaret
Forum Newbie
Posts: 4
Joined: Wed Jan 16, 2008 3:10 am

One more transparency question

Post by Jaret »

I have a problem with transparency.
I need to turn the BLACK colour into transparent on the 2nd layer of an image so it shows the background, like this:
Attachments
Needed result
Needed result
test12.jpg (46.11 KiB) Viewed 4341 times
Original Files
Original Files
test11.jpg (42.15 KiB) Viewed 4337 times
Jaret
Forum Newbie
Posts: 4
Joined: Wed Jan 16, 2008 3:10 am

Re: One more transparency question

Post by Jaret »

So far I manage to cut the black colour entirely from the generated image burning a whole into it. And I only need to remove the black colour from layers, showing the layer under.
Post Reply