imagegetinterpolation

(PHP 8)

imagegetinterpolationGet the interpolation method

說(shuō)明

imagegetinterpolation(GdImage $image): int

Gets the currently set interpolation method of the image.

參數(shù)

image

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

返回值

Returns the interpolation method.

更新日志

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

參見(jiàn)