imagecolorstotal

  • (PHP 4, PHP 5, PHP 7)
  • Find out the number of colors in an image's palette