PHP 8.1.24 Released!

imagecolorresolvealpha

(PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8)

imagecolorresolvealpha Retorna o índice da cor especificada + transparência ou a sua alternativa mais próxima

Descrição

imagecolorresolvealpha(
    resource $image,
    int $red,
    int $green,
    int $blue,
    int $alpha
): int

Esta função é garantida para retornar um índice de cor para a cor solicitada, ou a cor exata, ou a alternativa mais próxima possível.

Veja também imagecolorclosestalpha().

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top