Color Overlay

[email protected] ("Jason Hart")
Newsgroups php.gd.devel
Message-ID <[email protected]>
I was hoping to someone could help me find a way to simulate the 'Color
Overlay' feature from Photoshop using only the GD Library...

Basically I have a transparent overlay that I want to place over a
background image...
This is so I can fade the edges of that image to the background color of the
page...
This I've already done...

However the overlay image is a set color, black in this case...
I need to be able to change it under certain circumstances to match the page
color...

To change this in Photoshop I would just go to blending options -> color
overlay and select a different color...

I was hoping to find a way of doing this using the GD Library instead...

The overlay picture can be found here...
http://trekcon.com/overlay/overlay.png
The background picture can be found here...
http://trekcon.com/overlay/background.jpg
The result can be found here... http://trekcon.com/overlay/composite.jpg
The code can be found here... http://trekcon.com/overlay/watermark.php

Hopefully what I'm asking makes sense :)

Thanks in advance for any help
Jason Hart (aka Runey)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.