Get the interpolation method

imagegetinterpolation

(PHP 8)

imagegetinterpolationGet the interpolation method

說明

imagegetinterpolation(GdImage $image): int

Gets the currently set interpolation method of the image.

參數

image

由圖像建立函式(例如imagecreatetruecolor())返回的 GdImage 對象。

返回值

Returns the interpolation method.

更新日誌

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

參見

Leave a Reply

Your email address will not be published. Required fields are marked *