Welcome![Sign In][Sign Up]
Location:
Search - thumb.p

Search list

[WEB Codephp_thumb

Description: php图片的上传,利用GD函数库制作图片文字水印,缩略图文件-php thumb donging dfssa asdfsd
Platform: | Size: 3072 | Author: ranhaijun | Hits:

[WEB Codethumb

Description: PHP的图片处理类,非常实用 使用方法: <?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") // 指定缩放比例 $t->createImg(100,120) ?> <img src="img/00.jpg"> <img src="tmp/new_test.jpg"> -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">
Platform: | Size: 6144 | Author: 韩冰 | Hits:

CodeBus www.codebus.net