Home
last modified time | relevance | path

Searched refs:imagecolorstotal (Results 1 – 7 of 7) sorted by relevance

/PHP-8.2/ext/gd/tests/
H A Dimagecolourstotal_basic.phpt2 Test imagecolorstotal() function : basic functionality
9 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 ***
H A Dimagecolorstotal_basic.phpt2 Test imagecolorstotal() function : basic functionality
7 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 ***
H A Dimagecolordeallocate_error3.phpt15 $totalColors = imagecolorstotal($image);
H A Dimagecolordeallocate_error4.phpt15 $totalColors = imagecolorstotal($image);
/PHP-8.2/ext/gd/
H A Dgd_arginfo.h679 ZEND_FUNCTION(imagecolorstotal);
820 ZEND_FE(imagecolorstotal, arginfo_imagecolorstotal)
H A Dgd.stub.php685 function imagecolorstotal(GdImage $image): int {} function
H A Dgd.c2506 PHP_FUNCTION(imagecolorstotal) in PHP_FUNCTION() argument

Completed in 19 milliseconds