Function __global->imagecolorresolvealpha

Definitions

sources_custom/phpstub.php

  • Get the index of the specified color + alpha or its closest possible alternative.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$image resource required parameter N/A N/A The image involved
$red integer required parameter N/A N/A Red
$green integer required parameter N/A N/A Green
$blue integer required parameter N/A N/A Blue
$alpha integer required parameter N/A N/A Alpha

Return

  • Colour number (false: error)
  • Type: ~integer
  • Set: N/A
  • Range: N/A