(PHP 5 >= 5.5.0)
imagescale — Scale an image using the given new width and height
$image
, int $new_width
[, int $new_height = -1
[, int $mode = IMG_BILINEAR_FIXED
]] )
本函数还未编写文档,仅有参数列表。
image
由图象创建函数(例如 imagecreatetruecolor())返回的图象资源。
new_width
new_height
mode
One of IMG_NEAREST_NEIGHBOUR,
IMG_BILINEAR_FIXED,
IMG_BICUBIC,
IMG_BICUBIC_FIXED or anything else (will use two
pass).
Return scaled image resource on success 或者在失败时返回 FALSE.