Php/docs/function.imagegetinterpolation

From Get docs

imagegetinterpolation

(PHP 8)

imagegetinterpolationGet the interpolation method


Description

imagegetinterpolation ( GdImage $image ) : int

Gets the currently set interpolation method of the image.


Parameters

image
An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().


Return Values

Returns the interpolation method.


See Also