imagecolorsforindex()
imagecolorsforindex - Get the colors for an indexSyntax
array imagecolorsforindex (resource $image, int $index)Arguments
- image - An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
- index - The color index.
