imagecolorexactalpha

(PHP 4 >= 4.0.6, PHP 5)

imagecolorexactalpha -- 取得特殊的彩色加透明度的索引值

說明

int imagecolorexactalpha ( resource image, int red, int green, int blue, int alpha )

返回圖像調色板中指定彩色加透明度的索引值。

若果彩色不在圖像的調色板中,返回 -1。 returned.

注: 本函數需要 GD 2.0.1 或更高版本。

參見 imagecolorclosestalpha()