Что такое код imagecolorresolvealpha
ImageColorResolveAlpha — Get the index of the specified color + alpha or its closest possible alternative
Description
int imagecolorresolvealpha (resource im, int red, int green, int blue, int alpha)
This function is guaranteed to return a color index for a requested color, either the exact color or the closest possible alternative.
Note: This function was added in PHP 4.0.6 and requires GD 2.0.1
Что такое код imagecolorresolvealpha
imagecolorresolvealpha — получает индекс специфицированного цвета + alpha или его ближайшую возможную альтернативу.
Описание
int imagecolorresolvealpha (resource image, int red, int green, int blue, int alpha)
Эта функция гарантированно возвращает индекс запрашиваемого цвета или его ближайшей возможной альтернативы.
Примечание: эта функция была введена в PHP 4.0.6 и требует GD 2.0.1.
imagecolorresolvealpha
Get the index of the specified color + alpha or its closest possible alternative ( PHP 4 >= 4.0.6, PHP 5 )
This function is guaranteed to return a color index for a requested color, either the exact color or the closest possible alternative.
Parameters
An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
Value of red component
Value of green component
Value of blue component
A value between 0 and 127 . 0 indicates completely opaque while 127 indicates completely transparent.
The colors parameters are integers between 0 and 255 or hexadecimals between 0x00 and 0xFF.
Return Values
Returns a color index.
Notes
This function requires GD 2.0.1 or later (2.0.28 or later is recommended).
Imagecolorresolvealpha
Php функции
Php скрипты
imagecolorresolvealpha
(PHP 4 >= 4.0.6, PHP 5)
imagecolorresolvealpha — Get the index of the specified color + alpha or its closest possible alternative
Description
int imagecolorresolvealpha ( resource image, int red, int green, int blue, int alpha )
This function is guaranteed to return a color index for a requested color, either the exact color or the closest possible alternative.
Замечание: Эта функция нуждается в GD версии 2.0.1 или выше.
User Contributed Notes
There are no user contributed notes for this page
Что такое код imagecolorresolvealpha
imagecolorresolvealpha — получает индекс специфицированного цвета + alpha или его ближайшую возможную альтернативу.
Описание
int imagecolorresolvealpha (resource image, int red, int green, int blue, int alpha)
Эта функция гарантированно возвращает индекс запрашиваемого цвета или его ближайшей возможной альтернативы.
Примечание: эта функция была введена в PHP 4.0.6 и требует GD 2.0.1.
|
Материалы, которые находятся на этой страничке, любезно предоставлены Игорем Ивановым
Что такое код imagecolorresolvealpha
(PHP 4 >= 4.0.6, PHP 5)
imagecolorresolvealpha — Get the index of the specified color + alpha or its closest possible alternative
Description int imagecolorresolvealpha ( resource image, int red, int green, int blue, int alpha )
This function is guaranteed to return a color index for a requested color, either the exact color or the closest possible alternative.
Parameters
An image resource, returned by one of the image creation functions, such as imagecreatetruecolor() .
Value of red component
Value of green component
Value of blue component
A value between 0 and 127 . 0 indicates completely opaque while 127 indicates completely transparent.
Return Values
Returns a color index.
Notes
Note: This function requires GD 2.0.1 or later (2.0.28 or later is recommended).
Что такое код imagecolorresolvealpha
imagecolorresolvealpha — Get the index of the specified color + alpha or its closest possible alternative
Description int imagecolorresolvealpha ( resource image, int red, int green, int blue, int alpha)
This function is guaranteed to return a color index for a requested color, either the exact color or the closest possible alternative.
Note: This function was added in PHP 4.0.6 and requires GD 2.0.1
Что такое код imagecolorresolvealpha
imagecolorresolvealpha — получает индекс специфицированного цвета + alpha или его ближайшую возможную альтернативу.
Описание
int imagecolorresolvealpha (resource image, int red, int green, int blue, int alpha)
Эта функция гарантированно возвращает индекс запрашиваемого цвета или его ближайшей возможной альтернативы.
Примечание: эта функция была введена в PHP 4.0.6 и требует GD 2.0.1.
Что такое код imagecolorresolvealpha
imagecolorresolvealpha — Get the index of the specified color + alpha or its closest possible alternative
Description int imagecolorresolvealpha ( resource image, int red, int green, int blue, int alpha)
This function is guaranteed to return a color index for a requested color, either the exact color or the closest possible alternative.
Anmerkung: This function was added in PHP 4.0.6 and requires GD 2.0.1
Что такое код imagecolorresolvealpha
imagecolorresolvealpha — получает индекс специфицированного цвета + alpha или его ближайшую возможную альтернативу.
Описание
int imagecolorresolvealpha (resource image, int red, int green, int blue, int alpha)
Эта функция гарантированно возвращает индекс запрашиваемого цвета или его ближайшей возможной альтернативы.
Примечание: эта функция была введена в PHP 4.0.6 и требует GD 2.0.1.