Description: PHP' s image processing class, very practical to use: <?php
require_once thumb.php
header("Content-type : text/html charset=GBK")
$t = new ThumbHandler()
//给图片增加水印
$t-> setSrcImg (" ./img/00.jpg" ) $ t-> setDstImg (" ./tmp/new_test.jpg" ) $ t-> setMaskImg (" ./img/test.gif" ) $ t- > setMaskPosition (4) $ t-> setMaskImgPct (80) $ t-> setDstImgBorder (4, " # dddddd" ) // specify the scaling $ t-> createImg (100,120) ?> <img src="img/00.jpg"><img src="tmp/new_test.jpg">
To Search:
File list (Check if you may need any files):
PHP图片处理\thumb.php
...........\实例.php
PHP图片处理