LOADING STUFF...

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

技术教程5小时前更新 北陌
16 0 0

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

imagecolorsforindex

(PHP 4, PHP 5)

imagecolorsforindex — 取得某索引的颜色

说明

array imagecolorsforindex
( resource $image
, int $index
)

本函数返回一个具有 red,green,blue 和 alpha
的键名的关联数组,包含了指定颜色索引的相应的值。

Example #1 imagecolorsforindex() 例子

//

© 版权声明

相关文章

暂无评论

暂无评论...