imagegetinterpolation

(PHP 8)

imagegetinterpolationGet the interpolation method

說明

imagegetinterpolation(GdImage $image): int

Gets the currently set interpolation method of the image.

參數

image

由圖象創(chuàng)建函數(例如imagecreatetruecolor())返回的 GdImage 對象。

返回值

Returns the interpolation method.

更新日志

版本 說明
8.0.0 image expects a GdImage instance now; previously, a resource was expected.

參見