array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'function.imagegetinterpolation.php', 1 => 'imagegetinterpolation', 2 => 'Get the interpolation method', ), 'up' => array ( 0 => 'ref.image.php', 1 => 'Функції GD та Image', ), 'prev' => array ( 0 => 'function.imagegetclip.php', 1 => 'imagegetclip', ), 'next' => array ( 0 => 'function.imagegif.php', 1 => 'imagegif', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/image/functions/imagegetinterpolation.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

imagegetinterpolation

(PHP 8)

imagegetinterpolationGet the interpolation method

Опис

imagegetinterpolation(GdImage $image): int

Gets the currently set interpolation method of the image.

Параметри

image

Об'єкт GdImage, що повертається однією з функцій створення зображення, такою як imagecreatetruecolor().

Значення, що повертаються

Returns the interpolation method.

Журнал змін

Версія Опис
8.0.0 Тепер image має бути примірником GdImage. Раніше очікувався gd-resource.

Прогляньте також