How can i make a Truecolor image transparant.
I tried this but it doesn't work
<?php
$im = @imagecreatetruecolor(460, 80);
$transparent = ImageColorAllocate($im, 255, 255, 255); // ImageFill($im, 150, 40,$transparent);
ImageColorTransparent($im, $transparent);
Header("Content-type: image/png");
imagepng ($im);
imagedestroy ($im);
?>
Please help