Function __global->imagecolorstotal

Definitions

sources_custom/phpstub.php

  • Find out the number of colors in an image's palette.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: int

Parameters

Name Type Default Set Range Description
$image resource required parameter N/A N/A The image involved

Return

  • Total number of colours
  • Type: integer
  • Set: N/A
  • Range: N/A