Count the number of colors in the image
public countColors ( integer $max = null ) : integer | ||
$max | integer | Stop parsing the image if more colors than $max were found |
return | integer | The number of image colors |
public countColors ( integer $max = null ) : integer | ||
$max | integer | Stop parsing the image if more colors than $max were found |
return | integer | The number of image colors |