Searched refs:imagecolorstotal (Results 1 – 7 of 7) sorted by relevance
2 Test imagecolorstotal() function : basic functionality10 if (!function_exists("imagecolorstotal")) {11 die("skip imagecolorstotal() not available.");16 echo "*** Testing imagecolorstotal() : basic functionality ***\n";20 var_dump( imagecolorstotal( $img ) );22 var_dump( imagecolorstotal( $img ));25 var_dump( imagecolorstotal( $img ));30 var_dump( imagecolorstotal( $img ) );32 var_dump( imagecolorstotal( $img ) );37 *** Testing imagecolorstotal() : basic functionality ***
2 Test imagecolorstotal() function : basic functionality9 if(!function_exists('imagecolorstotal') || !function_exists('imagecreatefromgif')) {10 die('skip imagecolorstotal and imagecreatefromgif functions not available in this build');15 echo "*** Testing imagecolorstotal() : basic functionality ***\n";21 echo 'Total colors in image: ' . imagecolorstotal($im);27 *** Testing imagecolorstotal() : basic functionality ***
17 $totalColors = imagecolorstotal($image);
658 ZEND_FUNCTION(imagecolorstotal);793 ZEND_FE(imagecolorstotal, arginfo_imagecolorstotal)
178 function imagecolorstotal(GdImage $image): int {} function
2566 PHP_FUNCTION(imagecolorstotal) in PHP_FUNCTION() argument
Completed in 24 milliseconds