if I generated an image: first using imagecreate(); then coloring it over with imageline() //for my project yes this works out excelent.
I would like to import alternate PNG images and place them on top of my generated image.
However it gets better, I need to alpha out the color #6DB3D0.
or: R: 109 G: 179 B: 208
I should say for the record, its not specificly THIS color, thats it's purest form, I also would like to make neighboring pixels transparent accuratly in comparision (so if a pixel was "half" that color and half black.. it would end up placing down a half black color.. if that makes any sense).
How would I do this? Please use an example if possible.
Been a while since I was actively using gd, but since nobody's answered for a while I'll give this a shot. Have you considered setting this color with imagecolorallocate() and then doing an imagecolortransparent() on it?