位置: 编程技术 - 正文

PHP:imagecolorexact()的用法_GD库图像处理函数

编辑:rootadmin
imagecolorexact

推荐整理分享PHP:imagecolorexact()的用法_GD库图像处理函数,希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:,内容如对您有帮助,希望把文章链接给更多的朋友!

(PHP 4, PHP 5)

imagecolorexact — 取得指定颜色的索引值

说明 int imagecolorexact ( resource $image , int $red , int $green , int $blue ) PHP:imagecolorexact()的用法_GD库图像处理函数

返回图像调色板中指定颜色的索引值。

如果颜色不在图像的调色板中,返回 -1。

如果从文件创建了图像,只有图像中使用了的颜色会被辨析。仅出现在调色板中的颜色不会被辨析。

参见 imagecolorclosest()。

PHP:imagecolorat()的用法_GD库图像处理函数 imagecolorat(PHP4,PHP5)imagecolorat取得某像素的颜色索引值说明intimagecolorat(resource$image,int$x,int$y)返回image所指定的图形中指定位置像素的颜色索引值。如果PHP编

PHP:imagecolorclosesthwb()的用法_GD库图像处理函数 imagecolorclosesthwb(PHP4=4.0.1,PHP5)imagecolorclosesthwb取得与给定颜色最接近的色度的黑白色的索引说明intimagecolorclosesthwb(resource$image,int$red,int$green,int$blue)取得与

PHP:imagecolordeallocate()的用法_GD库图像处理函数 imagecolordeallocate(PHP4,PHP5)imagecolordeallocate取消图像颜色的分配说明boolimagecolordeallocate(resource$image,int$color)imagecolordeallocate()函数取消先前由imagecolorallocate()或

本文链接地址:https://www.jiuchutong.com/biancheng/288381.html 转载请保留说明!

上一篇:PHP:imagecolorexactalpha()的用法_GD库图像处理函数

下一篇:PHP:imagecolorat()的用法_GD库图像处理函数

免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

鄂ICP备2023003026号

网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

友情链接: 武汉网站建设 电脑维修 湖南楚通运网络