PHP - 函数:ImageColorsForIndex()

PHP - 函数:ImageColorsForIndex(),第1张

PHP - 函数:ImageColorsForIndex() 图形处理函数库
ImageColorsForIndex

取得色表上指定索引的颜色。

语法: array imagecolorsforindex(int im, int index);

返回值: 数组

函数种类: 图形处理

内容说明

本函数用来取得调色盘上指定索引的颜色值。参数 index 为索引值。数组返回值分别为红、绿、蓝三原色的值。

参考

ImageColorAt()  ImageColorSet()  


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/3004248.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-09-27
下一篇 2022-09-27

发表评论

登录后才能评论

评论列表(0条)

保存