本文整理匯總了PHP中SimpleImage::makeCopy方法的典型用法代碼示例。如果您正苦於以下問題:PHP SimpleImage::makeCopy方法的具體用法?PHP SimpleImage::makeCopy怎麽用?PHP SimpleImage::makeCopy使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類SimpleImage
的用法示例。
在下文中一共展示了SimpleImage::makeCopy方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: SimpleImage
echo "t3 success";
} else {
echo "t3 fail";
}
echo "<br />";
$page4SimpleImage = new SimpleImage($page4);
$result = $page4SimpleImage->generateThumbnail($page4Thumbnail);
if ($result) {
echo "t4 success";
} else {
echo "t4 fail";
}
echo "<br />";
$page3ThumbnailSimpleImage = new SimpleImage($page3Thumbnail);
$t3t4 = $page3ThumbnailSimpleImage->makeCopy('t3t4.jpg');
$result = $t3t4->rightAppend($page4Thumbnail);
if ($result) {
echo "append t3 and t4 success";
} else {
echo "append t3 and t4 fail";
}
echo "<br />";
$t1t2 = new SimpleImage('t1t2.jpg');
$superThumb = $t1t2->makeCopy('superthumb.jpg');
$result = $superThumb->downAppend('t3t4.jpg');
if ($result) {
echo "woot!!";
} else {
echo "last hurdle";
}
echo "<br />";