略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: imagegetinterpolation

2024-12-22

imagegetinterpolation

(PHP 8)

imagegetinterpolationGet the interpolation method

说明

imagegetinterpolation(GdImage $image): int

Gets the currently set interpolation method of the image.

参数

image

由图象创建函数(例如imagecreatetruecolor())返回的 GdImage 对象。

返回值

Returns the interpolation method.

更新日志

版本 说明
8.0.0 image expects a GdImage instance now; previously, a resource was expected.

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.imagegetinterpolation.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3