imagegetinterpolation

(PHP 8)

imagegetinterpolationGet the interpolation method

说明

imagegetinterpolation ( GdImage $image ) : int

Gets the currently set interpolation method of the image.

参数

image

由图象创建函数(例如imagecreatetruecolor())返回的图象资源。

返回值

Returns the interpolation method.

更新日志

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

参见