use this code
imagecolorallocatealpha($image, $Red, $Green, $Blue, $Alpha/2);
instead of
imagecolorallocatealpha($image, $Red, $Green, $Blue, $Alpha);
Example
Alpha = 255
equivalent in 0-127 = 127 as (255/2 = 127.5)
Alpha = 0
equivelent in 0-127 = 0 as (0/2 = 0)