Searched refs:imagecolorstotal (Results 1 – 7 of 7) sorted by relevance
2 Test imagecolorstotal() function : basic functionality9 if (!function_exists("imagecolorstotal")) {10 die("skip imagecolorstotal() not available.");15 echo "*** Testing imagecolorstotal() : basic functionality ***\n";19 var_dump( imagecolorstotal( $img ) );21 var_dump( imagecolorstotal( $img ));24 var_dump( imagecolorstotal( $img ));29 var_dump( imagecolorstotal( $img ) );31 var_dump( imagecolorstotal( $img ) );36 *** Testing imagecolorstotal() : basic functionality ***
2 Test imagecolorstotal() function : basic functionality7 if(!function_exists('imagecolorstotal') || !function_exists('imagecreatefromgif')) {8 die('skip imagecolorstotal and imagecreatefromgif functions not available in this build');13 echo "*** Testing imagecolorstotal() : basic functionality ***\n";19 echo 'Total colors in image: ' . imagecolorstotal($im);25 *** Testing imagecolorstotal() : basic functionality ***
15 $totalColors = imagecolorstotal($image);
667 ZEND_FUNCTION(imagecolorstotal);803 ZEND_FE(imagecolorstotal, arginfo_imagecolorstotal)
684 function imagecolorstotal(GdImage $image): int {} function
2729 PHP_FUNCTION(imagecolorstotal) in PHP_FUNCTION() argument
Completed in 26 milliseconds