$gwiazdy = imagecreatefrompng("gwiazdy.png"); 
$gradient = imagecreatefrompng("gradient.png"); 
imagecopymerge($gwiazdy, $gradient, 0, 0, 0, 0, 256, 256, 60); 
header('Content-type: image/png'); 
imagepng($gwiazdy); 
imagedestroy($gwiazdy); 
imagedestroy($gradient);
