 |
|
ใช้การเขียนข้อความลงในรูปภาพครับ
Code (PHP)
<?
echo "<img src=MyResize/image.png>";
$images = ImageCreate(300,200);
$color = ImageColorAllocate($images,255,0,0);
$photo = ImageColorAllocate($images,0,0,0);
ImageRectangle($images, 0, 0, 299, 199, $photo);
ImageString($images, 5, 10, 20, "www.ThaiCreate.Com Version 2009", $photo);
ImageString($images, 5, 10, 40, "Community By @W_IN", $photo);
ImageStringUp($images, 5, 10, 190, "My Name is Win", $photo);
ImagePng($images,"MyResize/image.png");
ImageDestroy($images);
?>
Go to : PHP Create text in image
|
 |
 |
 |
 |
Date :
2011-10-30 08:18:58 |
By :
webmaster |
|
 |
 |
 |
 |
|
|
 |