|
|
|
php Script ใส่ลายน้ำในรูปภาพจะเพิ่มขนาด fontยังไงครับ ช่วยที |
|
|
|
|
|
|
|
Code (PHP)
<?php
echo "<img src=MyResize/image.png>";
$filname = "winner.gif";
$src = ImageCreateFromGif($filname);
$size = GetImageSize($filname);
$im = ImageCreate(500, 450);
$bg = ImageColorAllocate($im, 255, 255, 0);
$color = ImageColorAllocate($im, 0, 0, 0);
ImageCopy($im, $src, 100, 50, 0, 0, $size[0], $size[1]);
ImagePng($im,"MyResize/image.png");
ImageDestroy($src);
ImageDestroy($im);
?>
Go to : PHP Add Logo/CopyRight to Image (Watermark)
|
|
|
|
|
Date :
2011-06-10 22:45:25 |
By :
webmaster |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 05
|