 |
PHP: imagecolorat - Manual - PHP: Hypertext Preprocessor
To test whether to handle the return value of this function as RGB or a palette index, see either imageistruecolor(), or (for GD < 2.0.1, or PHP 4 < 4.3.2) imagecolorstotal() == 0. It seems that a number of comments here take many lines to convert RGB or
php.net |
 |