imagescale

(PHP 5 >= 5.5.0)

imagescaleScale an image using the given new width and height

說明

resource imagescale ( resource $image , int $new_width [, int $new_height = -1 [, int $mode = IMG_BILINEAR_FIXED ]] )

Warning

此函式目前沒有參考文件;只有引數列表。

參數

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.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top