SDP2006
12-23-2003, 09:55 PM
<?php
$img_handle = ImageCreate (339, 60) or die ("Cannot Create image");
$bg = "tc.png";
$txt_color = ImageColorAllocate ($img_handle, 23, 124, 0);
ImageString ($img_handle, 31, 5, 5, "Coming Soon....", $txt_color);
header ("Content-type: image/png");
ImagePng ($img_handle);
?>
My question is. What I am trying to do is I have an image, tc.png, and I want to put text on top of tc.png. It just shows up 339x60 image with a green background. Can someone help?
Thanks
$img_handle = ImageCreate (339, 60) or die ("Cannot Create image");
$bg = "tc.png";
$txt_color = ImageColorAllocate ($img_handle, 23, 124, 0);
ImageString ($img_handle, 31, 5, 5, "Coming Soon....", $txt_color);
header ("Content-type: image/png");
ImagePng ($img_handle);
?>
My question is. What I am trying to do is I have an image, tc.png, and I want to put text on top of tc.png. It just shows up 339x60 image with a green background. Can someone help?
Thanks