I am struggling to create a horizontal gradient effect in an image (imagecreatetruecolor) that starts with a medium gray on the left and by the time it reaches midway across the image, it is fully transparent. It will be saved as a png image.
Can anyone get me started in the right direction?
TIA,
Martyn