Let's say I have some original jpg image and I want to add red with 50% opacity over the image and display it on the page, how it's done with GD? Please just point me in the right direction, my googling and searching didn't give me much results, or maybe I don't know what I'm searching for because english isn't my 1st language.
Example from photoshop: