$image = imagecreatetruecolor(400,400); $black = imagecolorallocate($image, 0, 0, 0); imagecolortransparent($image, $black);?>