Google

NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7">

ImageColorsForIndex

(PHP 3, PHP 4 )

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

説明

array imagecolorsforindex ( int im, int index)

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

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