ImageColorsForIndex

(PHP 3, PHP 4 >= 4.0.0)

ImageColorsForIndex -- カラーインデックスからカラーの取得

説明

array imagecolorsforindex (int im, int index)

指定したカラーインデックス index に対して適当な値からなる red、green、blue をキーとする連想配列を返します。

imagecolorat()および imagecolorexact()も参考にしてください。