函数:ImageColorsForIndex()
Posted on April 26th, 2008 by rolode
ImageColorsForIndex取得色表上指定索引的颜色。 语法: array imagecolorsforindex(int im, int index); 返回值: 数组 函数种类: 图形处理
本函数用来取得调色盘上指定索引的颜色值。参数 index 为索引值。数组返回值分别为红、绿、蓝三原色的值。
ImageColorAt() ImageColorSet() |
Filed under: PHP 技术 学习 教程