Forum Moderators: coopster
Im currently writing a script using GD2. The image I am creating consists of one rectagle with a fill colour and two images, both with a transparent bg to be merged with it. I have the rectangle and one image displaying perfectly well, yet when the second image is added the colors alter somewhat with a greenish hue. The initial rectangle is made up from imagecreate() and the other 2 images are png. I used imagecopymerge() to combine the first two images into one, and then the same function to toke the new image and merge the third. I have tried many function for adjusting the alpha and also the gama, but have not yet found a way to retain colors of the third and final image. I have also tried using png8 images to no avail.
All suggestions most gratefully appreciated.