« imagegetclip
Search
imagegif »
PHP Manual
GD および Image 関数
補間方法を取得する
imagegetinterpolation
(PHP 8)
imagegetinterpolation
—
補間方法を取得する
説明
function
imagegetinterpolation
(
GdImage
$image
):
int
image
に現在設定されている補間方法を取得します。
パラメータ
image
imagecreatetruecolor()
のような画像作成関数が返す
GdImage
オブジェクト。
戻り値
補間方法を返します。
変更履歴
バージョン
説明
8.0.0
image
は、
GdImage
クラスのインスタンスを期待するようになりました。 これより前のバージョンでは、有効な
gd
resource
が期待されていました。
参考
imagesetinterpolation()
- 補間方法を設定する
↑
and
↓
to navigate •
Enter
to select •
Esc
to close •
/
to open