Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

imagegetinterpolation

Description

The imagegetinterpolation of Image for PHP 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
HomeMenu