imagegetinterpolation
PHP Manual
PHP Manual»GD 和图像处理 函数»imagegetinterpolation

imagegetinterpolation

(PHP 8)

imagegetinterpolationGet the interpolation method

说明

function imagegetinterpolation(GdImage $image): int

Gets the currently set interpolation method of the image.

参数

image
由图象创建函数(例如imagecreatetruecolor())返回的 GdImage 对象。

返回值

Returns the interpolation method.

更新日志

版本 说明
8.0.0 image 现在需要 GdImage 实例;之前需要有效的 gd resource

参见

To Top