IT入门 > 教程 >

  • PHP imagearc - 画椭圆弧

    日期:2022-10-12 18:27:28 点击:837 好评:0

    imagearc — 用于画椭圆弧。 语法 bool imagearc ( resource $image , int $cx , int $cy , int $w , int $h , int $s , int $e , int $color ) imagearc() 以 cx,cy(图像左上角为 0, 0)为中心在 image 所代表的图像中画一...

  • PHP imagechar - 写出横向字符

    日期:2022-10-12 18:27:28 点击:4642 好评:0

    imagechar — 写出横向的字符。 语法 bool imagechar ( resource $image , int $font , int $x , int $y , string $c , int $color ) imagechar() 将字符串 c 的第一个字符画在 image 指定的图像中,其左上角位于 x,y(...

  • PHP imagecharup - 垂直地画一个字符

    日期:2022-10-12 18:27:28 点击:6845 好评:0

    imagecharup — 垂直地画一个字符。 语法 bool imagecharup ( resource $image , int $font , int $x , int $y , string $c , int $color ) imagecharup() 将字符 c 垂直地画在 image 指定的图像上,位于 x,y(图像左上角...

  • PHP imagecolorallocate - 为一幅图像分配颜色

    日期:2022-10-12 18:27:28 点击:7005 好评:0

    imagecolorallocate — 为一幅图像分配颜色。 语法 int imagecolorallocate ( resource $image , int $red , int $green , int $blue ) imagecolorallocate() 返回一个标识符,代表了由给定的 RGB 成分组成的颜色。red,...

  • PHP imagecolorallocatealpha - 为一幅图像分配颜色和透

    日期:2022-10-12 18:27:28 点击:2078 好评:0

    imagecolorallocatealpha — 为一幅图像分配颜色和透明度。 语法 int imagecolorallocatealpha ( resource $image , int $red , int $green , int $blue , int $alpha ) imagecolorallocatealpha() 的行为和 imagecolorallocate() 相同,...

  • PHP imagecolorat - 取得某像素的颜色索引值

    日期:2022-10-12 18:27:28 点击:9730 好评:0

    imagecolorat — 取得某像素的颜色索引值。 语法 int imagecolorat ( resource $image , int $x , int $y ) 返回 image 所指定的图形中指定位置像素的颜色索引值。 如果 PHP 编译时加上了 GD 库 2.0 或更高的...

  • PHP imagecolorclosest - 取得与指定的颜色最接近的颜

    日期:2022-10-12 18:27:28 点击:8193 好评:0

    imagecolorclosest — 取得与指定的颜色最接近的颜色的索引值。 语法 int imagecolorclosest ( resource $image , int $red , int $green , int $blue ) 返回图像调色板中与指定的 RGB 值最"接近"的颜色。 指定的...

  • PHP imagecolorclosestalpha - 取得与指定的颜色加透明度

    日期:2022-10-12 18:27:28 点击:6519 好评:0

    imagecolorclosestalpha — 取得与指定的颜色加透明度最接近的颜色的索引。 语法 int imagecolorclosestalpha ( resource $image , int $red , int $green , int $blue , int $alpha ) 返回图像调色板中与指定的 RGB 值以...

  • PHP imagecolorclosesthwb - 取得与指定的颜色最接近的

    日期:2022-10-12 18:27:28 点击:4966 好评:0

    imagecolorclosesthwb — 取得与指定的颜色最接近的色度的黑白色的索引。 语法 int imagecolorclosesthwb ( resource $image , int $red , int $green , int $blue ) 取得与给定颜色最接近的色度的黑白色的索引。...

  • PHP 获取图像宽度与高度

    日期:2022-10-12 18:27:28 点击:9247 好评:0

    PHP 获取图像宽度函数:imagesx() imagesx() 函数用于获取图像的宽度,单位为像素,返回值为整型。 语法: int imagesx( resource image ) 参数 image 为如 imagecreatetruecolor()、imagecreatefromjpeg() 等函数...

广告位API接口通信错误,查看德得广告获取帮助