imagescale
imagescale
(PHP 5 >= 5.5.0, PHP 7)
imagescale — Scale an image using the given new width and height
Description
resource imagescale ( resource $image , int $new_width [, int $new_height = -1 [, int $mode = IMG_BILINEAR_FIXED ]] )
imagescale() scales an image using the given interpolation algorithm.
Parameters
-
image
-
An image resource, returned by one of the image creation functions, such as 登录查看完整内容