imagecolorsforindex Type: function Library: GD Syntaxe: array imagecolorsforindex(resource $image, int $index) Retour: array Note: Retourne un array avec 4 clés: red, green, blue, alpha red : 0 à 255 (rouge) green : 0 à 255 (vert) blue : 0 à 255 (bleu) alpha : 0 (opaque) à 127 (transparent), Inverse du alpha 8-bit utilisé dans gimp, css3, imagick. C'est un canal 7-bits en GD Syntaxe: php.net/manual/en/function.imagecolorsforindex.php Test