Get the interpolation method
Syntax
imagegetinterpolation( GdImage $image ): int
Parameters
image
A GdImage object, returned by one of the image creation functions, such as imagecreatetruecolor().
Return
Returns the interpolation method.
Examples
1 · return
<? $width = 100; $height = 100; $image = imagecreate($width, $height); $return = imagegetinterpolation($image); echo $return; ?>
3