IT入门 > 教程 >

  • PHP getimagesizefromstring - 获取图片信息函数

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

    getimagesizefromstring — 从字符串中获取图像尺寸信息。 语法 array getimagesizefromstring ( string $imagedata [, array $imageinfo ] ) 同 getimagesize() 函数。 区别是 getimagesizefromstring() 第一个参数是图像数据...

  • PHP image_type_to_extension - 获取图片后缀

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

    image_type_to_extension — 根据指定的图像类型返回对应的后缀名。 语法 string image_type_to_extension ( int $imagetype [, bool $include_dot = TRUE ] ) 根据给定的常量 IMAGETYPE_XXX 返回后缀名。 实例 ?php// 创...

  • PHP image2wbmp - 输出WBMP图片

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

    image2wbmp — 以 WBMP 格式将图像输出到浏览器或文件。 语法 int image2wbmp ( resource $image [, string $filename [, int $threshold ]] ) image2wbmp() 从 image 图像创建一个名为 filename 的 WBMP 文件。image 参数是...

  • PHP imageaffine - 返回经过仿射变换后的图像

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

    imageaffine — 返回经过仿射变换后的图像,剪切区域可选。 语法 resource imageaffine ( resource $image , array $affine [, array $clip ] ) 参数 image 由图象创建函数(例如imagecreatetruecolor())返回的图象资源...

  • PHP imageaffinematrixget - 获取矩阵

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

    imageaffinematrixget — 获取矩阵。 语法 array imageaffinematrixget ( int $type [, mixed $options ] ) 参数 type IMG_AFFINE_* 常量。 options 返回值 成功则返回数组(其中键为 0 至 5 的数字)和浮点值,或者在...

  • PHP imagealphablending - 设定图像的混色模式

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

    imagealphablending — 设定图像的混色模式。 语法 bool imagealphablending ( resource $image , bool $blendmode ) imagealphablending() 允许在真彩色图像上使用两种不同的绘画模式。 在混色(blending)模式下,...

  • PHP imagearc - 画椭圆弧

    日期:2022-10-12 18:27:28 点击:838 好评: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 点击:4643 好评: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 点击:6846 好评: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 点击:7006 好评:0

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

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