$Img = new Img(); $Options['Width'] = 300; $Options['Height'] = 100; $Options['Content'] = "Test Create Img"; $Options['FontColor'] = "FF0000"; $Options['BackgroundColor'] = "AAAAAA"; $Img -> Style($Options) -> Create_Img_Jpg(); if($Img -> Load_Img("/Public/images/ad1.png")){ $FileInfo = $Img -> Style(array('Width'=>30,'Height'=>30)) -> Create_Thumb("Thumb","/Uploads/images/"); var_dump($FileInfo); }else{ die("加载图像失败,".$Img -> LoadErr); }
PHP图像处理类库及演示分享(2)
内容版权声明:除非注明,否则皆为本站原创文章。
转载注明出处:http://www.heiqu.com/0ede28d15e77016666aad8f39d75a558.html